Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001168/0.001168, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001362/0.001362, allocations: 178.2 kB / 23.21 MB, free: 1.348 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.8497/0.8497, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.01247/0.01247, allocations: 3.567 MB / 263.5 MB, free: 9.828 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.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 388.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.086e-05, allocations: 5.234 kB / 388.1 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.002587/0.002608, allocations: 2.721 MB / 390.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.003598, allocations: 0.7244 MB / 391.5 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.003719, allocations: 15.94 kB / 391.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.003845, allocations: 43.52 kB / 391.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.003973, allocations: 91.08 kB / 391.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.004306, allocations: 123.7 kB / 391.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.004629, allocations: 406.2 kB / 392.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.004849, allocations: 136.8 kB / 392.3 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.005114, allocations: 215.6 kB / 392.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.005251, allocations: 115.7 kB / 392.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.00529, allocations: 40 kB / 392.7 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.005349, allocations: 40 kB / 392.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.005399, allocations: 79.73 kB / 392.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.005488, allocations: 119.7 kB / 392.9 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.005806, allocations: 410.8 kB / 393.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005808, allocations: 0 / 393.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005809, allocations: 0 / 393.3 MB, free: 4.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005813, allocations: 4 kB / 393.3 MB, free: 4.145 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007286/0.006542, allocations: 0.5731 MB / 393.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.006574, allocations: 8.031 kB / 393.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.006723, allocations: 60.67 kB / 394 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.006946, allocations: 209.3 kB / 394.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.006963, allocations: 28.8 kB / 394.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.006999, allocations: 24.38 kB / 394.2 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.007388, allocations: 303.3 kB / 394.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007397, allocations: 192 / 394.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.007417, allocations: 12.38 kB / 394.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.007423, allocations: 11.94 kB / 394.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.007767, allocations: 241.8 kB / 394.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.008869, allocations: 0.7924 MB / 395.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.009292, allocations: 265.9 kB / 395.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.009463, allocations: 124.8 kB / 396 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.009484, allocations: 12.38 kB / 396 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.009714, allocations: 183.1 kB / 396.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.009716, allocations: 0 / 396.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005479/0.01026, allocations: 369.3 kB / 396.5 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.01029, allocations: 59.41 kB / 396.6 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01042, allocations: 216.1 kB / 396.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.01044, allocations: 29.7 kB / 396.8 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.01052, allocations: 172.6 kB / 397 MB, free: 332 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01056, allocations: 75.36 kB / 397.1 MB, free: 256 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.01062, allocations: 53.64 kB / 397.1 MB, free: 196 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.01071, allocations: 334.8 kB / 397.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.01088, allocations: 133.6 kB / 397.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.01105, allocations: 182 kB / 397.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.01137, allocations: 281.9 kB / 398 MB, free: 15.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01138, allocations: 7.938 kB / 398 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004115/0.01179, allocations: 380.5 kB / 398.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.01181, allocations: 33.7 kB / 398.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01182, allocations: 3.938 kB / 398.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01183, allocations: 7.938 kB / 398.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.01199, allocations: 67.98 kB / 398.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.012, allocations: 0 / 398.5 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.01209, allocations: 43.81 kB / 398.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.01211, allocations: 8 kB / 398.6 MB, free: 14.66 MB / 330.7 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.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 9.818e-05/0.01221, allocations: 157.8 kB / 398.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.01223, allocations: 19.86 kB / 398.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.01262, allocations: 306.4 kB / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.01262, allocations: 4 kB / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01262, allocations: 0 / 399 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01263, allocations: 3.938 kB / 399 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.01281, allocations: 257.1 kB / 399.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01282, allocations: 0 / 399.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.01297, allocations: 63.89 kB / 399.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01297, allocations: 0 / 399.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01299, allocations: 11.98 kB / 399.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01299, allocations: 4 kB / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01299, allocations: 0 / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.01353, allocations: 449.5 kB / 399.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.01355, allocations: 31.81 kB / 399.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01357, allocations: 0 / 399.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.01365, allocations: 24.05 kB / 399.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.0137, allocations: 31.83 kB / 399.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01372, allocations: 8 kB / 399.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.007e-05/0.0138, allocations: 157.6 kB / 400.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0138, allocations: 0 / 400.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.01397, allocations: 67.89 kB / 400.1 MB, free: 13.04 MB / 330.7 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,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (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 7.55e-05/0.01405, allocations: 95.25 kB / 400.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.01444, allocations: 345 kB / 400.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01444, allocations: 0 / 400.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.0146, allocations: 123 kB / 400.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.0148, allocations: 48.47 kB / 400.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.0155, allocations: 0.5827 MB / 401.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.01559, allocations: 162.4 kB / 401.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.01566, allocations: 28.48 kB / 401.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01566, allocations: 0 / 401.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Templates: time 0.003518/0.01917, allocations: 3.44 MB / 404.9 MB, free: 8.156 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.261926948092878] Failed to read output from testmodel.py, exit status != 0: 0.024153826758265495 0.157982443 0.150354923 Calling exit ...