Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001585/0.001585, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1329/0.1329, allocations: 4.643 MB / 294.7 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 356 MB, free: 2.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09747, allocations: 50.51 MB / 406.6 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004895/0.1024, allocations: 4.2 MB / 410.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1041, allocations: 0.8881 MB / 411.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.1046, allocations: 11.94 kB / 411.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.105, allocations: 59.53 kB / 411.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.1057, allocations: 146.8 kB / 411.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1064, allocations: 147.9 kB / 412 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1075, allocations: 0.7519 MB / 412.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.1082, allocations: 0.508 MB / 413.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.1086, allocations: 283.1 kB / 413.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.109, allocations: 302.7 kB / 413.8 MB, free: 9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.1093, allocations: 84 kB / 413.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1094, allocations: 88 kB / 414 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1096, allocations: 147.6 kB / 414.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.11, allocations: 346.5 kB / 414.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007781/0.1108, allocations: 0.826 MB / 415.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1108, allocations: 0 / 415.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1108, allocations: 0 / 415.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.1109, allocations: 0 / 415.3 MB, free: 7.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001991/0.1129, allocations: 0.8952 MB / 416.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1129, allocations: 8.031 kB / 416.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1131, allocations: 64.19 kB / 416.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.1136, allocations: 371.2 kB / 416.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.1137, allocations: 37.38 kB / 416.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.1138, allocations: 48.38 kB / 416.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.115, allocations: 0.589 MB / 417.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.115, allocations: 0 / 417.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.1151, allocations: 20 kB / 417.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1151, allocations: 12 kB / 417.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1162, allocations: 471.6 kB / 417.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.1189, allocations: 1.902 MB / 419.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.1197, allocations: 433.8 kB / 420.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.1202, allocations: 282.2 kB / 420.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.1202, allocations: 8.266 kB / 420.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.1208, allocations: 321.6 kB / 420.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/0.1208, allocations: 0 / 420.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001402/0.1222, allocations: 0.6588 MB / 421.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.1223, allocations: 81.11 kB / 421.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1227, allocations: 332.5 kB / 421.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1227, allocations: 37.7 kB / 421.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1229, allocations: 256 kB / 422.1 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.123, allocations: 130.1 kB / 422.2 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1232, allocations: 78.03 kB / 422.3 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1467/0.2699, allocations: 355.3 kB / 422.6 MB, free: 48.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.2704, allocations: 200.1 kB / 422.8 MB, free: 48.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.2708, allocations: 272.9 kB / 423.1 MB, free: 48.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.2716, allocations: 0.4966 MB / 423.6 MB, free: 48.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2717, allocations: 1.062 kB / 423.6 MB, free: 48.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001018/0.2727, allocations: 0.5962 MB / 424.2 MB, free: 47.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.2727, allocations: 35.3 kB / 424.2 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2727, allocations: 0 / 424.2 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2728, allocations: 6.438 kB / 424.2 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.2733, allocations: 125.7 kB / 424.3 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2733, allocations: 9.109 kB / 424.4 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2737, allocations: 69.27 kB / 424.4 MB, free: 47.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2737, allocations: 13.44 kB / 424.4 MB, free: 47.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002031/0.2739, allocations: 209.7 kB / 424.6 MB, free: 47.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.274, allocations: 41.98 kB / 424.7 MB, free: 47.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.2747, allocations: 464.5 kB / 425.1 MB, free: 47.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2747, allocations: 3.344 kB / 425.1 MB, free: 47.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2747, allocations: 3.938 kB / 425.1 MB, free: 47.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2747, allocations: 7.391 kB / 425.1 MB, free: 47.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.2752, allocations: 0.5891 MB / 425.7 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2752, allocations: 3.812 kB / 425.7 MB, free: 47.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.2757, allocations: 114.9 kB / 425.9 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2757, allocations: 3.25 kB / 425.9 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2758, allocations: 7.125 kB / 425.9 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2758, allocations: 3.188 kB / 425.9 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2758, allocations: 3.938 kB / 425.9 MB, free: 47.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2769, allocations: 0.7783 MB / 426.6 MB, free: 47.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.277, allocations: 119.5 kB / 426.8 MB, free: 47.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.2771, allocations: 11.25 kB / 426.8 MB, free: 47.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.2773, allocations: 44.89 kB / 426.8 MB, free: 47.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.2774, allocations: 31.38 kB / 426.8 MB, free: 47.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2775, allocations: 17.17 kB / 426.9 MB, free: 47.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.2776, allocations: 237.8 kB / 427.1 MB, free: 46.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 0.7656 kB / 427.1 MB, free: 46.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.278, allocations: 142 kB / 427.2 MB, free: 46.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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 8.674e-05/0.2781, allocations: 109.1 kB / 427.3 MB, free: 46.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.279, allocations: 0.5561 MB / 427.9 MB, free: 46.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.279, allocations: 0 / 427.9 MB, free: 46.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.2794, allocations: 243.5 kB / 428.1 MB, free: 46.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2798, allocations: 63.02 kB / 428.2 MB, free: 46.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.2816, allocations: 1.379 MB / 429.6 MB, free: 45.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2818, allocations: 0.8683 MB / 430.4 MB, free: 44.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.282, allocations: 55.55 kB / 430.5 MB, free: 44.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.2821, allocations: 37.56 kB / 430.5 MB, free: 44.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2821, allocations: 0 / 430.5 MB, free: 44.89 MB / 350.1 MB Notification: Performance of Templates: time 0.006439/0.2886, allocations: 4.257 MB / 434.8 MB, free: 44.65 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)