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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00087/0.00087, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008891/0.0008891, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9133/0.9133, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02036/0.02036, allocations: 3.585 MB / 263.5 MB, free: 9.617 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 334.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.76e-05, allocations: 2.312 kB / 334.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003031/0.003049, allocations: 4.009 MB / 338.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.004339, allocations: 0.9775 MB / 339.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.004518, allocations: 11.94 kB / 339.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.004703, allocations: 83.17 kB / 339.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.004906, allocations: 178.3 kB / 339.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.005306, allocations: 199.7 kB / 339.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.00575, allocations: 0.793 MB / 340.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.006119, allocations: 324.8 kB / 340.8 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.006464, allocations: 455.1 kB / 341.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.006677, allocations: 235.4 kB / 341.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.006736, allocations: 84 kB / 341.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.006836, allocations: 88 kB / 341.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.006902, allocations: 159.5 kB / 341.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.007037, allocations: 235.5 kB / 342 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.007386, allocations: 0.4906 MB / 342.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.007388, allocations: 4 kB / 342.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007389, allocations: 0 / 342.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.007396, allocations: 4 kB / 342.5 MB, free: 6.891 MB / 266.7 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.0008518/0.008248, allocations: 0.9425 MB / 343.4 MB, free: 5.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.00828, allocations: 8.031 kB / 343.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.008494, allocations: 128.5 kB / 343.6 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.008793, allocations: 324.2 kB / 343.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.008815, allocations: 37.38 kB / 343.9 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.008869, allocations: 56.36 kB / 344 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.00932, allocations: 412.7 kB / 344.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.009333, allocations: 4.125 kB / 344.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.009362, allocations: 20.38 kB / 344.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.009373, allocations: 15.94 kB / 344.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.009631, allocations: 169.9 kB / 344.6 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.01082, allocations: 1.528 MB / 346.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.01107, allocations: 227 kB / 346.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01121, allocations: 124.8 kB / 346.5 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.01124, allocations: 8.281 kB / 346.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.01145, allocations: 188.8 kB / 346.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.303e-06/0.01145, allocations: 0 / 346.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.0004653/0.01191, allocations: 311.1 kB / 347 MB, free: 2.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.01194, allocations: 81.11 kB / 347 MB, free: 2.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01211, allocations: 346.2 kB / 347.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01213, allocations: 33.7 kB / 347.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.01222, allocations: 315.1 kB / 347.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.01228, allocations: 146.8 kB / 347.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.01236, allocations: 79.84 kB / 347.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.01242, allocations: 0.5274 MB / 348.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.01254, allocations: 82.67 kB / 348.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01268, allocations: 184.5 kB / 348.7 MB, free: 352 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.01292, allocations: 261 kB / 349 MB, free: 52 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01293, allocations: 0 / 349 MB, free: 52 kB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004336/0.01336, allocations: 386 kB / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.01339, allocations: 29.7 kB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01339, allocations: 4 kB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01341, allocations: 4 kB / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.01373, allocations: 119.9 kB / 349.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01374, allocations: 4 kB / 349.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01387, allocations: 47.84 kB / 349.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.01389, allocations: 20 kB / 349.6 MB, free: 15.43 MB / 282.7 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.0001187/0.01401, allocations: 184.4 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.01406, allocations: 59.64 kB / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.0144, allocations: 245.4 kB / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.0144, allocations: 4 kB / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01441, allocations: 0 / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01441, allocations: 0 / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.01474, allocations: 392.3 kB / 350.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01474, allocations: 4 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.01502, allocations: 108.1 kB / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01502, allocations: 0 / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.01505, allocations: 16 kB / 350.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01505, allocations: 3.984 kB / 350.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.01506, allocations: 11.92 kB / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.01554, allocations: 380.4 kB / 351 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.01558, allocations: 43.62 kB / 351 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.01562, allocations: 15.94 kB / 351 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.01572, allocations: 19.98 kB / 351 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.01579, allocations: 39.94 kB / 351.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.01581, allocations: 7.984 kB / 351.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.01594, allocations: 235 kB / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01594, allocations: 0 / 351.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00025/0.01619, allocations: 135.7 kB / 351.4 MB, free: 13.48 MB / 282.7 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.043e-05/0.01627, allocations: 107.1 kB / 351.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.01663, allocations: 297.2 kB / 351.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01663, allocations: 384 / 351.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.01679, allocations: 123.4 kB / 352 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01704, allocations: 56.62 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.01841, allocations: 0.9919 MB / 353 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01851, allocations: 141.1 kB / 353.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.01868, allocations: 46.92 kB / 353.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.01878, allocations: 32.5 kB / 353.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01878, allocations: 0 / 353.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of Templates: time 0.007535/0.02632, allocations: 4.229 MB / 357.4 MB, free: 7.438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (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=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.984834995120764]