Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.977/0.977, allocations: 145 MB / 454.5 MB, free: 10.02 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.91 kB / 0.6287 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1976, allocations: 87.84 MB / 0.7145 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003603/0.2012, allocations: 1.98 MB / 0.7164 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2026, allocations: 0.7596 MB / 0.7171 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2028, allocations: 4 kB / 0.7171 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.203, allocations: 87.62 kB / 0.7172 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2032, allocations: 87.58 kB / 0.7173 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.2038, allocations: 185.4 kB / 0.7175 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.2042, allocations: 259.4 kB / 0.7177 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2044, allocations: 53.64 kB / 0.7178 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2046, allocations: 119.7 kB / 0.7179 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2048, allocations: 155.5 kB / 0.7181 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.2048, allocations: 23.94 kB / 0.7181 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.205, allocations: 95.92 kB / 0.7182 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.2051, allocations: 55.84 kB / 0.7182 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2053, allocations: 111.3 kB / 0.7183 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.2057, allocations: 322.7 kB / 0.7186 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2057, allocations: 3.938 kB / 0.7186 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2057, allocations: 0 / 0.7186 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.2057, allocations: 0 / 0.7186 GB, free: 7.465 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001202/0.2069, allocations: 0.5894 MB / 0.7192 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.207, allocations: 12.03 kB / 0.7192 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.429e-05/0.207, allocations: 4.188 kB / 0.7192 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.2071, allocations: 42.75 kB / 0.7193 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.2072, allocations: 32.73 kB / 0.7193 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006948/0.2079, allocations: 299 kB / 0.7196 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.2079, allocations: 20.36 kB / 0.7196 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.208, allocations: 16.12 kB / 0.7196 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.2085, allocations: 223.9 kB / 0.7198 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2085, allocations: 0 / 0.7198 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2085, allocations: 8 kB / 0.7198 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2085, allocations: 4 kB / 0.7198 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.2088, allocations: 136.3 kB / 0.72 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.21, allocations: 0.6731 MB / 0.7206 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.2104, allocations: 154.5 kB / 0.7208 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.2106, allocations: 88.95 kB / 0.7209 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2106, allocations: 0 / 0.7209 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.211, allocations: 177.1 kB / 0.721 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.211, allocations: 0 / 0.721 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0009238/0.2119, allocations: 384.6 kB / 0.7214 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.212, allocations: 128.5 kB / 0.7215 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.2123, allocations: 286.6 kB / 0.7218 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.2124, allocations: 29.7 kB / 0.7218 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2125, allocations: 160.3 kB / 0.722 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.2126, allocations: 47.64 kB / 0.722 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2127, allocations: 41.7 kB / 0.7221 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.2129, allocations: 338.8 kB / 0.7224 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2131, allocations: 87.89 kB / 0.7225 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.2133, allocations: 132.1 kB / 0.7226 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.2137, allocations: 244.1 kB / 0.7228 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2137, allocations: 0 / 0.7228 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005775/0.2143, allocations: 336 kB / 0.7231 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.2144, allocations: 37.69 kB / 0.7232 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2144, allocations: 96 / 0.7232 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2144, allocations: 7.938 kB / 0.7232 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2145, allocations: 23.92 kB / 0.7232 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2146, allocations: 4 kB / 0.7232 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2147, allocations: 23.88 kB / 0.7232 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2147, allocations: 11.94 kB / 0.7233 GB, free: 2.395 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.215, allocations: 195.6 kB / 0.7234 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.215, allocations: 27.81 kB / 0.7235 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.499e-05/0.2151, allocations: 29.83 kB / 0.7235 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2151, allocations: 4 kB / 0.7235 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2151, allocations: 0 / 0.7235 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2151, allocations: 4 kB / 0.7235 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.2154, allocations: 293.4 kB / 0.7238 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2154, allocations: 0 / 0.7238 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.2155, allocations: 15.94 kB / 0.7238 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2155, allocations: 7.984 kB / 0.7238 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.2156, allocations: 8 kB / 0.7238 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2156, allocations: 0 / 0.7238 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2156, allocations: 0 / 0.7238 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007827/0.2163, allocations: 474.3 kB / 0.7243 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.2164, allocations: 100.9 kB / 0.7244 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.2165, allocations: 12.06 kB / 0.7244 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2166, allocations: 15.98 kB / 0.7244 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.2167, allocations: 19.97 kB / 0.7244 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.2167, allocations: 7.984 kB / 0.7244 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002053/0.2169, allocations: 205.9 kB / 0.7246 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2169, allocations: 0 / 0.7246 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002854/0.2172, allocations: 55.94 kB / 0.7247 GB, free: 0.8359 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/0.2184, allocations: 1.032 MB / 0.7257 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.2189, allocations: 255.5 kB / 0.7259 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2189, allocations: 4 kB / 0.7259 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.2191, allocations: 159.3 kB / 0.7261 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2194, allocations: 34.58 kB / 0.7261 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.223, allocations: 2.761 MB / 0.7288 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2234, allocations: 0.7553 MB / 0.7295 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.2235, allocations: 21.53 kB / 0.7296 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2236, allocations: 67.42 kB / 0.7296 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2236, allocations: 4 kB / 0.7296 GB, free: 11.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2497, allocations: 5.443 MB / 0.7349 GB, free: 6.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.632, allocations: 4.062 kB / 0.7349 GB, free: 6.266 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.680500453046989] Failed to read output from testmodel.py, exit status != 0: 8.757772845972795 8.773100991 8.564463608 Calling exit ...