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.001189/0.001189, allocations: 103 kB / 16.4 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.001165/0.001165, allocations: 192.2 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.344/1.344, 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.02184/0.02184, allocations: 4.654 MB / 295.9 MB, free: 10.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 409 MB, free: 27.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07601, allocations: 50.51 MB / 459.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004029/0.08007, allocations: 2.869 MB / 462.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.08138, allocations: 0.6818 MB / 463 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.08162, allocations: 4 kB / 463 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.08182, allocations: 47.52 kB / 463.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.0821, allocations: 87.2 kB / 463.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.08246, allocations: 107.8 kB / 463.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.08297, allocations: 402.5 kB / 463.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.08338, allocations: 249.6 kB / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.08366, allocations: 155.5 kB / 464.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.08392, allocations: 155.4 kB / 464.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.378e-05/0.084, allocations: 44 kB / 464.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.08409, allocations: 44 kB / 464.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.08417, allocations: 83.69 kB / 464.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.08436, allocations: 175.3 kB / 464.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.08481, allocations: 426.7 kB / 465 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.08482, allocations: 0 / 465 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08483, allocations: 0 / 465 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.08484, allocations: 0 / 465 MB, free: 3.012 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.001287/0.08614, allocations: 0.6376 MB / 465.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.08618, allocations: 11.97 kB / 465.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.08628, allocations: 32.56 kB / 465.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.08661, allocations: 280.6 kB / 465.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.08664, allocations: 16.94 kB / 465.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.0867, allocations: 24.38 kB / 466 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.0874, allocations: 347.9 kB / 466.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.08742, allocations: 0 / 466.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.08746, allocations: 11.94 kB / 466.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.08747, allocations: 8 kB / 466.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.08815, allocations: 282 kB / 466.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.08969, allocations: 1.037 MB / 467.6 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.09047, allocations: 302.6 kB / 467.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.09083, allocations: 160.8 kB / 468.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.09087, allocations: 7.984 kB / 468.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.0913, allocations: 193.1 kB / 468.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.09131, allocations: 0 / 468.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001028/0.09234, allocations: 417.4 kB / 468.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.09239, allocations: 55.41 kB / 468.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.09262, allocations: 229 kB / 469 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.09267, allocations: 37.69 kB / 469 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.09279, allocations: 172 kB / 469.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.09286, allocations: 71 kB / 469.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.09296, allocations: 45.7 kB / 469.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09308, allocations: 338.8 kB / 469.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.0934, allocations: 123.9 kB / 469.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.09373, allocations: 163.3 kB / 469.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.09438, allocations: 313.9 kB / 470.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.09439, allocations: 0 / 470.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007615/0.09516, allocations: 385.9 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.0952, allocations: 29.7 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.09521, allocations: 4 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.09523, allocations: 0 / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.09558, allocations: 67.98 kB / 470.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.0956, allocations: 4 kB / 470.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.09583, allocations: 35.72 kB / 470.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.09587, allocations: 12 kB / 470.7 MB, free: 12.95 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.0001689/0.09604, allocations: 161.8 kB / 470.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.09609, allocations: 27.66 kB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.09684, allocations: 330.5 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.09686, allocations: 7.938 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.09687, allocations: 0 / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.09689, allocations: 7.922 kB / 471.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.09728, allocations: 385.3 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.09729, allocations: 0 / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.09763, allocations: 59.95 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.09765, allocations: 7.938 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.09768, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.09768, allocations: 4 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09769, allocations: 0 / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.09878, allocations: 0.4926 MB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.09886, allocations: 104.7 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.09891, allocations: 12 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.09911, allocations: 15.98 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.0992, allocations: 23.97 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.09923, allocations: 11.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.09939, allocations: 168.5 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0994, allocations: 8.062 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.0997, allocations: 63.84 kB / 472.6 MB, free: 10.98 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.0001108/0.09982, allocations: 104 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.1006, allocations: 354.1 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1006, allocations: 192 / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.1009, allocations: 147.8 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1013, allocations: 36.34 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1026, allocations: 0.6516 MB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1029, allocations: 0.7748 MB / 474.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.103, allocations: 19.44 kB / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1031, allocations: 0 / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Templates: time 0.006046/0.1091, allocations: 3.476 MB / 478.1 MB, free: 5.359 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)