Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001429/0.001429, allocations: 191 kB / 17.34 MB, free: 5.762 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0223/0.0223, allocations: 4.647 MB / 295.9 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 409 MB, free: 27.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 50.51 MB / 459.5 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004267/0.1066, allocations: 2.867 MB / 462.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1079, allocations: 0.6895 MB / 463 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1081, allocations: 8 kB / 463 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1083, allocations: 47.52 kB / 463.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1086, allocations: 87.2 kB / 463.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.109, allocations: 103.8 kB / 463.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.1095, allocations: 410.5 kB / 463.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.1099, allocations: 237.7 kB / 463.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1103, allocations: 155.5 kB / 464.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1106, allocations: 155.4 kB / 464.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.1107, allocations: 48 kB / 464.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.1108, allocations: 40 kB / 464.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.1108, allocations: 79.77 kB / 464.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.111, allocations: 175.2 kB / 464.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.1116, allocations: 430.7 kB / 465 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1116, allocations: 0 / 465 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1116, allocations: 0 / 465 MB, free: 2.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1116, allocations: 4 kB / 465 MB, free: 2.988 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.001362/0.113, allocations: 0.6337 MB / 465.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.113, allocations: 12.03 kB / 465.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.1131, allocations: 32.56 kB / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1135, allocations: 280.6 kB / 465.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1135, allocations: 16.94 kB / 465.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.1136, allocations: 28.38 kB / 466 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.1143, allocations: 335.9 kB / 466.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1143, allocations: 0 / 466.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1144, allocations: 12 kB / 466.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1144, allocations: 4 kB / 466.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.1151, allocations: 286 kB / 466.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1168, allocations: 1.041 MB / 467.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.1176, allocations: 298.6 kB / 467.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.1179, allocations: 156.8 kB / 468.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.118, allocations: 7.984 kB / 468.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.1184, allocations: 193.3 kB / 468.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.1184, allocations: 0 / 468.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001111/0.1196, allocations: 417.4 kB / 468.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1196, allocations: 59.39 kB / 468.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1199, allocations: 229 kB / 469 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.1199, allocations: 33.64 kB / 469 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1201, allocations: 180 kB / 469.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.1201, allocations: 70.98 kB / 469.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1202, allocations: 49.7 kB / 469.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1204, allocations: 334.8 kB / 469.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1208, allocations: 123.9 kB / 469.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.1211, allocations: 167.3 kB / 469.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.1218, allocations: 313.9 kB / 470.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1218, allocations: 0 / 470.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008082/0.1227, allocations: 381.9 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.1227, allocations: 33.7 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1227, allocations: 0 / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1227, allocations: 8.094 kB / 470.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.1231, allocations: 63.89 kB / 470.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1231, allocations: 7.984 kB / 470.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.1234, allocations: 39.72 kB / 470.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.1234, allocations: 4 kB / 470.7 MB, free: 12.93 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 (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 (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.0001774/0.1236, allocations: 163.8 kB / 470.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1236, allocations: 27.66 kB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.1245, allocations: 330.8 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1245, allocations: 0 / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1245, allocations: 4 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1245, allocations: 11.86 kB / 471.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.125, allocations: 381.4 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.125, allocations: 0 / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.1253, allocations: 63.95 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.1254, allocations: 3.938 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.1254, allocations: 8 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1254, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1254, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.1267, allocations: 0.4887 MB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1268, allocations: 112.7 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.1268, allocations: 0 / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.127, allocations: 19.98 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1272, allocations: 23.97 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.1272, allocations: 7.984 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1274, allocations: 176.5 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1274, allocations: 0 / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.1277, allocations: 63.84 kB / 472.6 MB, free: 10.97 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,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 (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.0001672/0.1279, allocations: 107.9 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.1288, allocations: 355.4 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1288, allocations: 4.062 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.1291, allocations: 142.7 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1295, allocations: 36.41 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.1309, allocations: 0.6515 MB / 473.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1313, allocations: 0.7748 MB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.767e-05/0.1314, allocations: 19.44 kB / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1314, allocations: 0 / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Templates: time 0.0065/0.1379, allocations: 3.517 MB / 478.2 MB, free: 5.301 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)