Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001697/0.001697, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.002017/0.002017, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.51/1.51, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02476/0.02476, allocations: 3.567 MB / 262.7 MB, free: 13.27 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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: translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 387.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.05e-05, allocations: 5.094 kB / 387.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004322/0.004352, allocations: 2.713 MB / 390.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.005796, allocations: 0.7322 MB / 390.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.005959, allocations: 7.938 kB / 390.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.006127, allocations: 39.58 kB / 390.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.006341, allocations: 95.08 kB / 390.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.006751, allocations: 123.7 kB / 391.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.007249, allocations: 398.3 kB / 391.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.007576, allocations: 132.8 kB / 391.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.007979, allocations: 223.6 kB / 391.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.008196, allocations: 111.7 kB / 391.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.008262, allocations: 40 kB / 391.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.008364, allocations: 40 kB / 392 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.008461, allocations: 83.73 kB / 392.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.008627, allocations: 111.8 kB / 392.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.009252, allocations: 422.7 kB / 392.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.009259, allocations: 0 / 392.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00926, allocations: 4 kB / 392.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.009268, allocations: 0 / 392.6 MB, free: 9.848 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001547/0.01082, allocations: 0.5692 MB / 393.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.01086, allocations: 8.031 kB / 393.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.01116, allocations: 56.67 kB / 393.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.01152, allocations: 217.3 kB / 393.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.01154, allocations: 16.88 kB / 393.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.01161, allocations: 24.38 kB / 393.5 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.01229, allocations: 307.3 kB / 393.8 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.0123, allocations: 4.188 kB / 393.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.01234, allocations: 8.375 kB / 393.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.01235, allocations: 11.94 kB / 393.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.013, allocations: 241.8 kB / 394 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01449, allocations: 0.7924 MB / 394.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.01526, allocations: 261.6 kB / 395.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.01558, allocations: 132.8 kB / 395.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.01562, allocations: 8.359 kB / 395.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004336/0.01605, allocations: 179.2 kB / 395.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.01605, allocations: 0 / 395.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001046/0.0171, allocations: 381.2 kB / 395.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.01715, allocations: 59.39 kB / 395.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.01738, allocations: 212.1 kB / 396 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.01741, allocations: 29.7 kB / 396.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01754, allocations: 172.6 kB / 396.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.01761, allocations: 79.38 kB / 396.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.01771, allocations: 49.64 kB / 396.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01787, allocations: 342.8 kB / 396.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.0183, allocations: 133.6 kB / 396.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.01867, allocations: 178 kB / 397 MB, free: 5.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.01931, allocations: 289.9 kB / 397.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01931, allocations: 0 / 397.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008155/0.02013, allocations: 379.8 kB / 397.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.02017, allocations: 33.7 kB / 397.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.02018, allocations: 8.078 kB / 397.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.0202, allocations: 3.938 kB / 397.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.02053, allocations: 63.89 kB / 397.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.02054, allocations: 4 kB / 397.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.02076, allocations: 31.83 kB / 397.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.02079, allocations: 12 kB / 397.8 MB, free: 4.375 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001856/0.02098, allocations: 154.4 kB / 398 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.02102, allocations: 23.86 kB / 398 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.02184, allocations: 306.4 kB / 398.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02184, allocations: 0 / 398.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.02185, allocations: 0 / 398.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.02186, allocations: 7.938 kB / 398.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.02222, allocations: 257.1 kB / 398.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.02223, allocations: 7.922 kB / 398.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.02257, allocations: 59.91 kB / 398.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.02257, allocations: 4 kB / 398.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.0226, allocations: 7.984 kB / 398.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.0226, allocations: 0 / 398.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0226, allocations: 4 kB / 398.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.0237, allocations: 463.5 kB / 399.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.02374, allocations: 19.83 kB / 399.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.02379, allocations: 8 kB / 399.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.02398, allocations: 23.97 kB / 399.1 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.02407, allocations: 19.91 kB / 399.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.0241, allocations: 11.98 kB / 399.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.02426, allocations: 153.6 kB / 399.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02426, allocations: 0 / 399.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.02458, allocations: 71.89 kB / 399.4 MB, free: 2.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001472/0.02473, allocations: 99.25 kB / 399.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.02552, allocations: 340.2 kB / 399.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02552, allocations: 0 / 399.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.02587, allocations: 124 kB / 399.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.0262, allocations: 36.42 kB / 400 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.02745, allocations: 0.5653 MB / 400.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.02762, allocations: 158.5 kB / 400.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.02773, allocations: 25.62 kB / 400.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.02782, allocations: 20.5 kB / 400.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02782, allocations: 0 / 400.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Templates: time 0.007109/0.03493, allocations: 2.569 MB / 403.3 MB, free: 14.78 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.393819849938154] Failed to read output from testmodel.py, exit status != 0: 0.0437810905277729 0.058457585000000006 0.04610183 Calling exit ...