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.0009176/0.0009176, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009039/0.0009039, allocations: 173 kB / 23.28 MB, free: 1.219 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 1.048/1.048, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.02306/0.02306, allocations: 3.577 MB / 263.8 MB, free: 9.457 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.493e-06/1.493e-06, allocations: 0 / 334.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.391e-05, allocations: 6.312 kB / 334.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003978/0.004002, allocations: 3.943 MB / 338.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.005524, allocations: 0.9737 MB / 339.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.005741, allocations: 15.94 kB / 339.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.00592, allocations: 87.09 kB / 339.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.006163, allocations: 182.4 kB / 339.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.006545, allocations: 199.6 kB / 340.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.007114, allocations: 0.7834 MB / 340.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.007526, allocations: 328.8 kB / 341.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.00803, allocations: 451.1 kB / 341.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.008287, allocations: 243.4 kB / 341.8 MB, free: 8.766 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.008361, allocations: 87.94 kB / 341.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.00847, allocations: 88 kB / 342 MB, free: 8.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.008559, allocations: 151.6 kB / 342.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.008729, allocations: 247.5 kB / 342.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006874/0.009417, allocations: 498.4 kB / 342.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.009419, allocations: 0 / 342.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00942, allocations: 0 / 342.9 MB, free: 7.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.009426, allocations: 0 / 342.9 MB, free: 7.715 MB / 314.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.000884/0.01031, allocations: 0.9502 MB / 343.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.01034, allocations: 12.03 kB / 343.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.01056, allocations: 120.5 kB / 344 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.01085, allocations: 324.2 kB / 344.3 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.01087, allocations: 37.38 kB / 344.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.01092, allocations: 48.38 kB / 344.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.01132, allocations: 384.5 kB / 344.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01133, allocations: 4.188 kB / 344.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.01136, allocations: 20.38 kB / 344.8 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01137, allocations: 15.94 kB / 344.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.01155, allocations: 126.9 kB / 344.9 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.01288, allocations: 1.536 MB / 346.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.01311, allocations: 207.6 kB / 346.6 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01322, allocations: 104.8 kB / 346.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.01325, allocations: 12.27 kB / 346.8 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.01346, allocations: 180.4 kB / 346.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.372e-06/0.01346, allocations: 4 kB / 346.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0003859/0.01384, allocations: 275.1 kB / 347.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.01388, allocations: 85.05 kB / 347.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.01407, allocations: 346.1 kB / 347.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.0141, allocations: 33.7 kB / 347.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.01424, allocations: 319 kB / 348 MB, free: 2.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.01432, allocations: 138.8 kB / 348.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.01441, allocations: 83.8 kB / 348.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01455, allocations: 0.5235 MB / 348.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.01465, allocations: 74.66 kB / 348.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01478, allocations: 180.4 kB / 349 MB, free: 1.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.015, allocations: 240.9 kB / 349.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.015, allocations: 0 / 349.2 MB, free: 1.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003394/0.01534, allocations: 354.1 kB / 349.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.01538, allocations: 41.69 kB / 349.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01538, allocations: 4.062 kB / 349.6 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01539, allocations: 4 kB / 349.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.01568, allocations: 115.9 kB / 349.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01568, allocations: 7.938 kB / 349.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01581, allocations: 43.72 kB / 349.8 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.01583, allocations: 15.98 kB / 349.8 MB, free: 460 kB / 314.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.0004706/0.0163, allocations: 180.5 kB / 349.9 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.01635, allocations: 51.7 kB / 350 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.01667, allocations: 225.4 kB / 350.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01668, allocations: 8 kB / 350.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01668, allocations: 0 / 350.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.01669, allocations: 3.938 kB / 350.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.01701, allocations: 332.8 kB / 350.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01701, allocations: 0 / 350.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.01728, allocations: 103.9 kB / 350.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01729, allocations: 0 / 350.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.01731, allocations: 19.98 kB / 350.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.01732, allocations: 7.938 kB / 350.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01732, allocations: 0 / 350.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.01774, allocations: 348.8 kB / 351 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.01778, allocations: 43.64 kB / 351.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.01782, allocations: 12 kB / 351.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.01791, allocations: 20.11 kB / 351.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.01797, allocations: 31.94 kB / 351.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01799, allocations: 15.97 kB / 351.1 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01809, allocations: 226.9 kB / 351.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01809, allocations: 4 kB / 351.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.01835, allocations: 131.7 kB / 351.5 MB, free: 14.65 MB / 330.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 0.0001032/0.01845, allocations: 110.6 kB / 351.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.01874, allocations: 265.5 kB / 351.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01874, allocations: 0 / 351.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01886, allocations: 107.4 kB / 352 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01912, allocations: 61.69 kB / 352 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02051, allocations: 0.9824 MB / 353 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.257e-05/0.02059, allocations: 133.1 kB / 353.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.02071, allocations: 34.95 kB / 353.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.02087, allocations: 134.2 kB / 353.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02088, allocations: 0 / 353.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of Templates: time 0.007139/0.02801, allocations: 4.622 MB / 357.9 MB, free: 8.203 MB / 330.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.850829873699695]