Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.0008819/0.0008819, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009021/0.0009021, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9609/0.9609, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01341/0.01341, allocations: 3.57 MB / 262.8 MB, free: 9.82 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: "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 386.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.494e-05, allocations: 2.281 kB / 386.8 MB, free: 9.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003495/0.00352, allocations: 1.677 MB / 388.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.004725, allocations: 0.5259 MB / 389 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.004848, allocations: 0 / 389 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.004957, allocations: 15.8 kB / 389 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.005042, allocations: 35.66 kB / 389 MB, free: 7.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.00531, allocations: 55.86 kB / 389.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.005481, allocations: 127.5 kB / 389.2 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.005617, allocations: 41.17 kB / 389.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.005798, allocations: 79.73 kB / 389.3 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.005872, allocations: 55.88 kB / 389.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.005896, allocations: 8 kB / 389.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.005939, allocations: 12 kB / 389.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.005972, allocations: 23.91 kB / 389.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.006026, allocations: 31.92 kB / 389.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.006197, allocations: 119.6 kB / 389.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0062, allocations: 0 / 389.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006201, allocations: 0 / 389.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.006206, allocations: 7.938 kB / 389.6 MB, free: 7.102 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006071/0.006813, allocations: 402.7 kB / 390 MB, free: 6.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006853, allocations: 8.031 kB / 390 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.503e-05/0.006918, allocations: 58.58 kB / 390.1 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.007071, allocations: 40.75 kB / 390.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.007252, allocations: 157.5 kB / 390.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.007264, allocations: 8.375 kB / 390.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.00728, allocations: 8.375 kB / 390.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.007551, allocations: 199 kB / 390.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007559, allocations: 192 / 390.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.007574, allocations: 8.125 kB / 390.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.00758, allocations: 4 kB / 390.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.007799, allocations: 135.7 kB / 390.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.008437, allocations: 0.6994 MB / 391.3 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.008721, allocations: 181 kB / 391.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.008846, allocations: 100.3 kB / 391.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.008864, allocations: 4 kB / 391.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.009076, allocations: 159.7 kB / 391.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.009077, allocations: 0 / 391.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004341/0.009511, allocations: 253.4 kB / 392 MB, free: 4.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.009573, allocations: 162.2 kB / 392.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.009682, allocations: 175.2 kB / 392.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009699, allocations: 33.7 kB / 392.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.009883, allocations: 116 kB / 392.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.009908, allocations: 35.69 kB / 392.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.00995, allocations: 29.7 kB / 392.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.01003, allocations: 322.8 kB / 392.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.01018, allocations: 93.83 kB / 392.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01031, allocations: 121.9 kB / 393.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01053, allocations: 197.7 kB / 393.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01054, allocations: 0 / 393.2 MB, free: 3.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.01083, allocations: 252.8 kB / 393.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.01086, allocations: 33.7 kB / 393.5 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01086, allocations: 7.938 kB / 393.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01088, allocations: 4.156 kB / 393.5 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.01098, allocations: 35.91 kB / 393.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01098, allocations: 4 kB / 393.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.01106, allocations: 23.92 kB / 393.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01107, allocations: 4 kB / 393.6 MB, free: 2.711 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.009e-05/0.01116, allocations: 136.9 kB / 393.7 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.01125, allocations: 11.95 kB / 393.7 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.01139, allocations: 106.5 kB / 393.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01139, allocations: 0 / 393.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.0114, allocations: 4 kB / 393.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0114, allocations: 0 / 393.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.01168, allocations: 400.8 kB / 394.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.01168, allocations: 7.875 kB / 394.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.01175, allocations: 31.97 kB / 394.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01176, allocations: 7.938 kB / 394.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01177, allocations: 0.5312 kB / 394.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.01177, allocations: 11.98 kB / 394.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01177, allocations: 0 / 394.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01209, allocations: 357.2 kB / 394.7 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.01211, allocations: 19.86 kB / 394.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01213, allocations: 8 kB / 394.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.01222, allocations: 23.92 kB / 394.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.01228, allocations: 19.97 kB / 394.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01229, allocations: 7.984 kB / 394.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.08e-05/0.01236, allocations: 131.2 kB / 394.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01236, allocations: 0 / 394.9 MB, free: 1.363 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01258, allocations: 27.89 kB / 394.9 MB, free: 1.336 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.0007632/0.01335, allocations: 0.9836 MB / 395.9 MB, free: 324 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.01365, allocations: 224.9 kB / 396.1 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01366, allocations: 0 / 396.1 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.0138, allocations: 88.05 kB / 396.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.0141, allocations: 22.75 kB / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.01678, allocations: 2.294 MB / 398.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01691, allocations: 121.3 kB / 398.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.01699, allocations: 12.48 kB / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.01709, allocations: 44.48 kB / 398.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01709, allocations: 0 / 398.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.03387, allocations: 3.876 MB / 402.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/6.896, allocations: 6.75 kB / 402.5 MB, free: 9.566 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.928438692353666] Failed to read output from testmodel.py, exit status != 0: 6.979449491016567 7.133973198 7.125506942 Calling exit ...