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.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_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 105 kB / 16.41 MB, free: 6.5 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.001351/0.001351, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02227/0.02227, allocations: 4.646 MB / 295.9 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 409 MB, free: 27.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1097, allocations: 50.5 MB / 459.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003894/0.1136, allocations: 2.868 MB / 462.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1148, allocations: 0.6739 MB / 463 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1149, allocations: 11.94 kB / 463 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1151, allocations: 43.58 kB / 463.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1152, allocations: 87.14 kB / 463.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1156, allocations: 103.9 kB / 463.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.116, allocations: 374.5 kB / 463.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.1163, allocations: 200.4 kB / 463.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1166, allocations: 147.5 kB / 464 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1168, allocations: 151.4 kB / 464.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.1168, allocations: 40 kB / 464.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.1169, allocations: 36 kB / 464.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.117, allocations: 75.7 kB / 464.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1171, allocations: 179.2 kB / 464.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.1175, allocations: 394.8 kB / 464.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1175, allocations: 4 kB / 464.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1175, allocations: 0 / 464.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1175, allocations: 0 / 464.8 MB, free: 3.133 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001156/0.1187, allocations: 0.6254 MB / 465.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1188, allocations: 23.95 kB / 465.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.1188, allocations: 32.56 kB / 465.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1192, allocations: 264.7 kB / 465.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1192, allocations: 16.94 kB / 465.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.1193, allocations: 28.36 kB / 465.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.1199, allocations: 311.9 kB / 466.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1199, allocations: 4 kB / 466.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.1199, allocations: 15.98 kB / 466.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1199, allocations: 4 kB / 466.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.1205, allocations: 238.1 kB / 466.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1219, allocations: 1.009 MB / 467.4 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.1226, allocations: 274.6 kB / 467.6 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1229, allocations: 144.8 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.123, allocations: 0 / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.1234, allocations: 181.5 kB / 468 MB, free: 15.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.1234, allocations: 0 / 468 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009369/0.1243, allocations: 384 kB / 468.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1244, allocations: 55.41 kB / 468.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.1246, allocations: 221 kB / 468.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1246, allocations: 29.7 kB / 468.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.1247, allocations: 176 kB / 468.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.1248, allocations: 67 kB / 468.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1249, allocations: 45.7 kB / 468.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.125, allocations: 342.8 kB / 469.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.1253, allocations: 111.9 kB / 469.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.1256, allocations: 139.4 kB / 469.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.1262, allocations: 293.9 kB / 469.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1262, allocations: 0 / 469.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007343/0.127, allocations: 357.9 kB / 470.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.539e-05/0.127, allocations: 33.7 kB / 470.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.127, allocations: 7.922 kB / 470.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.127, allocations: 4 kB / 470.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.1274, allocations: 55.95 kB / 470.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1274, allocations: 4 kB / 470.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1276, allocations: 39.81 kB / 470.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1276, allocations: 12 kB / 470.3 MB, free: 13.37 MB / 350.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.0001366/0.1278, allocations: 150 kB / 470.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.1278, allocations: 31.64 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.1285, allocations: 299.6 kB / 470.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1285, allocations: 4 kB / 470.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.1286, allocations: 7.938 kB / 470.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.1286, allocations: 0 / 470.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.1289, allocations: 361.4 kB / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1289, allocations: 4 kB / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.1293, allocations: 55.95 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1293, allocations: 7.938 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1293, allocations: 7.984 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1293, allocations: 3.938 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1293, allocations: 3.938 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.1303, allocations: 452 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1304, allocations: 112.7 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1304, allocations: 4.062 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1306, allocations: 19.98 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.1307, allocations: 19.97 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1307, allocations: 11.98 kB / 471.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1309, allocations: 160.5 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1309, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1312, allocations: 63.84 kB / 472 MB, free: 11.52 MB / 350.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 9.882e-05/0.1313, allocations: 112 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.1319, allocations: 319.1 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1319, allocations: 0 / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.1323, allocations: 127.9 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.1326, allocations: 32.61 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1337, allocations: 0.6281 MB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.134, allocations: 0.767 MB / 474 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.1342, allocations: 31.42 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1342, allocations: 4 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of Templates: time 0.005163/0.1393, allocations: 3.311 MB / 477.4 MB, free: 6.125 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile (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)