Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") translateModel(FastBuildings.Examples.SingleZone_Controlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Controlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0226/0.0226, allocations: 4.655 MB / 295.8 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 409 MB, free: 27.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.0796, allocations: 50.49 MB / 459.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004266/0.08389, allocations: 3.196 MB / 462.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.08536, allocations: 0.7795 MB / 463.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.08568, allocations: 11.94 kB / 463.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.08592, allocations: 51.45 kB / 463.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.08626, allocations: 130.9 kB / 463.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.08666, allocations: 127.8 kB / 463.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.08726, allocations: 0.5102 MB / 464.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.08771, allocations: 274.5 kB / 464.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.088, allocations: 191.3 kB / 464.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.08829, allocations: 199.2 kB / 464.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.08838, allocations: 56 kB / 465 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.08848, allocations: 56 kB / 465 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.08858, allocations: 111.7 kB / 465.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.08882, allocations: 231 kB / 465.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.08937, allocations: 0.5414 MB / 465.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.08938, allocations: 3.984 kB / 465.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08939, allocations: 0 / 465.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.08941, allocations: 0 / 465.9 MB, free: 2.027 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001534/0.09095, allocations: 0.7195 MB / 466.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/0.09103, allocations: 8.031 kB / 466.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.09114, allocations: 44.47 kB / 466.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.09156, allocations: 318.5 kB / 467 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.09169, allocations: 66.91 kB / 467.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.09177, allocations: 32.36 kB / 467.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.09259, allocations: 397 kB / 467.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.09262, allocations: 0 / 467.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.09266, allocations: 19.92 kB / 467.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09267, allocations: 8 kB / 467.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.09352, allocations: 322.3 kB / 467.8 MB, free: 0 / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.09563, allocations: 1.507 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.09665, allocations: 385.3 kB / 469.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.09711, allocations: 197.6 kB / 469.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.09715, allocations: 0 / 469.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.09769, allocations: 248.9 kB / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.0977, allocations: 0 / 470.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001307/0.09902, allocations: 0.4891 MB / 470.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.09908, allocations: 81.11 kB / 470.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.09939, allocations: 283 kB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.09943, allocations: 33.7 kB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.09957, allocations: 192.2 kB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8e-05/0.09966, allocations: 94.73 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.09976, allocations: 57.81 kB / 471.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.0999, allocations: 342.8 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.1003, allocations: 147.9 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.1007, allocations: 200.9 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/0.1016, allocations: 371.4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1016, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009832/0.1026, allocations: 454.7 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.1026, allocations: 37.69 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1026, allocations: 0 / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1026, allocations: 4 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.1037, allocations: 215.8 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.1055, allocations: 1.683 MB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.1059, allocations: 43.78 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.1059, allocations: 15.98 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1061, allocations: 181.7 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.1062, allocations: 27.62 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008916/0.1071, allocations: 368.4 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1071, allocations: 8 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1071, allocations: 0 / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1071, allocations: 0 / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.1076, allocations: 457.1 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1076, allocations: 4 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.1087, allocations: 199.7 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.1087, allocations: 7.984 kB / 476.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.1087, allocations: 4 kB / 476.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.1103, allocations: 1.671 MB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1103, allocations: 3.938 kB / 477.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.1116, allocations: 0.5834 MB / 478.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.1117, allocations: 108.7 kB / 478.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.1118, allocations: 8 kB / 478.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.112, allocations: 28.02 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.1121, allocations: 35.89 kB / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1121, allocations: 4 kB / 478.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1124, allocations: 206 kB / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1124, allocations: 0 / 478.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1128, allocations: 83.84 kB / 478.8 MB, free: 4.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.1129, allocations: 111.2 kB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.1145, allocations: 0.5146 MB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1145, allocations: 0 / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1156, allocations: 299.8 kB / 479.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.116, allocations: 55.31 kB / 479.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1179, allocations: 0.8834 MB / 480.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.1184, allocations: 0.7947 MB / 481.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1185, allocations: 27.44 kB / 481.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1185, allocations: 0 / 481.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Templates: time 0.008395/0.1269, allocations: 5.908 MB / 487.4 MB, free: 11.73 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Controlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)