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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.965/0.965, allocations: 145.2 MB / 449.7 MB, free: 13.21 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.92 kB / 0.6232 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1958, allocations: 86.65 MB / 0.7078 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003634/0.1994, allocations: 1.982 MB / 0.7097 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2008, allocations: 0.709 MB / 0.7104 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2009, allocations: 3.938 kB / 0.7104 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.2012, allocations: 87.64 kB / 0.7105 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2013, allocations: 87.62 kB / 0.7106 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.2019, allocations: 195.1 kB / 0.7108 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2022, allocations: 259.5 kB / 0.711 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2024, allocations: 49.89 kB / 0.7111 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2025, allocations: 119.6 kB / 0.7112 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2028, allocations: 167.4 kB / 0.7113 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.2028, allocations: 20 kB / 0.7114 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.203, allocations: 87.92 kB / 0.7114 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.2031, allocations: 63.77 kB / 0.7115 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.2032, allocations: 107.3 kB / 0.7116 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.2036, allocations: 314.8 kB / 0.7119 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2037, allocations: 0 / 0.7119 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2037, allocations: 4 kB / 0.7119 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2037, allocations: 4 kB / 0.7119 GB, free: 13.61 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.001036/0.2047, allocations: 0.5933 MB / 0.7125 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2047, allocations: 12.03 kB / 0.7125 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.2048, allocations: 28.75 kB / 0.7125 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.2053, allocations: 311 kB / 0.7128 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2054, allocations: 12.38 kB / 0.7128 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.2054, allocations: 12.38 kB / 0.7128 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.2058, allocations: 233.1 kB / 0.7131 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2058, allocations: 0 / 0.7131 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2058, allocations: 4 kB / 0.7131 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2059, allocations: 4 kB / 0.7131 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.2061, allocations: 132.3 kB / 0.7132 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2072, allocations: 0.681 MB / 0.7139 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.2075, allocations: 162.4 kB / 0.714 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2077, allocations: 84.95 kB / 0.7141 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2077, allocations: 8 kB / 0.7141 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.208, allocations: 169 kB / 0.7143 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.208, allocations: 0 / 0.7143 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007344/0.2087, allocations: 374.2 kB / 0.7146 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.2088, allocations: 136.5 kB / 0.7148 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.2091, allocations: 286.7 kB / 0.715 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2092, allocations: 29.7 kB / 0.7151 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2093, allocations: 160.3 kB / 0.7152 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2094, allocations: 39.67 kB / 0.7153 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.2094, allocations: 41.7 kB / 0.7153 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2096, allocations: 338.8 kB / 0.7156 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2098, allocations: 87.89 kB / 0.7157 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.21, allocations: 138.1 kB / 0.7158 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.2104, allocations: 240.6 kB / 0.7161 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2104, allocations: 4.031 kB / 0.7161 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005991/0.211, allocations: 344.6 kB / 0.7164 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.211, allocations: 41.62 kB / 0.7164 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.211, allocations: 0 / 0.7164 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2111, allocations: 4 kB / 0.7164 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2112, allocations: 20.08 kB / 0.7165 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2112, allocations: 7.938 kB / 0.7165 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.2113, allocations: 27.97 kB / 0.7165 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2113, allocations: 8 kB / 0.7165 GB, free: 8.582 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.0001867/0.2115, allocations: 187.4 kB / 0.7167 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.2116, allocations: 31.84 kB / 0.7167 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.2117, allocations: 25.84 kB / 0.7167 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2117, allocations: 0 / 0.7167 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2117, allocations: 4 kB / 0.7167 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2117, allocations: 3.984 kB / 0.7167 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.212, allocations: 293.4 kB / 0.717 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/0.212, allocations: 3.984 kB / 0.717 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.422e-05/0.2121, allocations: 12 kB / 0.717 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2121, allocations: 3.984 kB / 0.717 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.2121, allocations: 11.98 kB / 0.717 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2121, allocations: 0 / 0.717 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2121, allocations: 3.938 kB / 0.7171 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.2129, allocations: 466.5 kB / 0.7175 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.213, allocations: 100.9 kB / 0.7176 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.213, allocations: 12 kB / 0.7176 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2131, allocations: 15.98 kB / 0.7176 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.2132, allocations: 19.97 kB / 0.7176 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.2132, allocations: 8 kB / 0.7176 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002159/0.2135, allocations: 205.9 kB / 0.7178 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2135, allocations: 4.062 kB / 0.7178 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002805/0.2137, allocations: 59.89 kB / 0.7179 GB, free: 7.031 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.0002707/0.214, allocations: 139 kB / 0.718 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.2145, allocations: 255.2 kB / 0.7183 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2145, allocations: 0 / 0.7183 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.2148, allocations: 163.5 kB / 0.7184 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2151, allocations: 28.83 kB / 0.7185 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2162, allocations: 484.6 kB / 0.7189 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2166, allocations: 0.7553 MB / 0.7197 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.2167, allocations: 17.55 kB / 0.7197 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.2168, allocations: 19.44 kB / 0.7197 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2168, allocations: 0 / 0.7197 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of Templates: time 0.007078/0.2238, allocations: 2.901 MB / 0.7225 GB, free: 2.223 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.010105296969414]