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.001859/0.001859, allocations: 93.47 kB / 19.44 MB, free: 336 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.002147/0.002147, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.541/1.541, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] 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.02845/0.02845, allocations: 3.563 MB / 263.1 MB, free: 9.688 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.533e-06/1.533e-06, allocations: 3.938 kB / 333.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.779e-05, allocations: 3.859 kB / 333.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.003791/0.003818, allocations: 3.955 MB / 337.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.005077, allocations: 0.9697 MB / 338.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.005256, allocations: 11.94 kB / 338.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.005448, allocations: 79.22 kB / 338.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.005698, allocations: 186.3 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.006074, allocations: 199.7 kB / 338.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.006544, allocations: 0.7867 MB / 339.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.006954, allocations: 340.8 kB / 340 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.007345, allocations: 435.3 kB / 340.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.007622, allocations: 243.4 kB / 340.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.007706, allocations: 84 kB / 340.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.007826, allocations: 88 kB / 340.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.007918, allocations: 159.5 kB / 341 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.008105, allocations: 235.5 kB / 341.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.00871, allocations: 0.8648 MB / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.008713, allocations: 0 / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008715, allocations: 0 / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.008724, allocations: 4 kB / 342.1 MB, free: 6.945 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.001347/0.01007, allocations: 1.005 MB / 343.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.0101, allocations: 8.031 kB / 343.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.01045, allocations: 128.5 kB / 343.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.01085, allocations: 336.2 kB / 343.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.01088, allocations: 37.38 kB / 343.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.01095, allocations: 48.38 kB / 343.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.01178, allocations: 0.6132 MB / 344.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.0118, allocations: 192 / 344.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.01184, allocations: 20.38 kB / 344.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01185, allocations: 15.94 kB / 344.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.01256, allocations: 423.7 kB / 344.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.01462, allocations: 1.985 MB / 346.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.01517, allocations: 397.5 kB / 347.1 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.01553, allocations: 259.9 kB / 347.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.01558, allocations: 8.281 kB / 347.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.01604, allocations: 324.7 kB / 347.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.01604, allocations: 4 kB / 347.7 MB, free: 1.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.001087/0.01713, allocations: 0.6005 MB / 348.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.01716, allocations: 85.11 kB / 348.3 MB, free: 492 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.01746, allocations: 458.2 kB / 348.8 MB, free: 16 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.01752, allocations: 33.7 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.0178, allocations: 327.1 kB / 349.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.01798, allocations: 162.8 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.01816, allocations: 103.8 kB / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003654/0.01853, allocations: 0.5664 MB / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.01897, allocations: 202.6 kB / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.01951, allocations: 324.4 kB / 350.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.02045, allocations: 0.5047 MB / 351 MB, free: 13.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02045, allocations: 0 / 351 MB, free: 13.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001198/0.02165, allocations: 0.6112 MB / 351.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.0217, allocations: 37.7 kB / 351.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0217, allocations: 0 / 351.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.02172, allocations: 4 kB / 351.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.02229, allocations: 115.9 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.0223, allocations: 4 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.02258, allocations: 51.91 kB / 351.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.02262, allocations: 16 kB / 351.8 MB, free: 12.83 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.0003133/0.02293, allocations: 264.4 kB / 352.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.02303, allocations: 55.69 kB / 352.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.02393, allocations: 417.3 kB / 352.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.02394, allocations: 7.984 kB / 352.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02394, allocations: 0 / 352.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.02394, allocations: 0 / 352.5 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.02472, allocations: 0.5432 MB / 353.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02473, allocations: 0 / 353.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.0253, allocations: 111.8 kB / 353.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.0253, allocations: 192 / 353.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.02534, allocations: 11.94 kB / 353.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.02534, allocations: 4 kB / 353.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02534, allocations: 0 / 353.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.02684, allocations: 0.754 MB / 354 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.02693, allocations: 39.69 kB / 354 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.02699, allocations: 15.94 kB / 354 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.02722, allocations: 19.98 kB / 354 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.02734, allocations: 35.94 kB / 354.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.02737, allocations: 12.11 kB / 354.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003198/0.02769, allocations: 291 kB / 354.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02769, allocations: 0 / 354.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.02815, allocations: 135.7 kB / 354.5 MB, free: 10.07 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 0.0001531/0.0283, allocations: 119.2 kB / 354.6 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.02941, allocations: 0.5362 MB / 355.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02942, allocations: 0 / 355.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.02991, allocations: 231.5 kB / 355.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.03034, allocations: 61.44 kB / 355.4 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.03264, allocations: 1.096 MB / 356.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.03295, allocations: 259.9 kB / 356.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002352/0.03319, allocations: 50.92 kB / 356.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.03332, allocations: 36.48 kB / 356.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.03332, allocations: 0 / 356.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of Templates: time 0.01108/0.0444, allocations: 4.232 MB / 361.1 MB, free: 3.418 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: 4.587496489984915]