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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 106.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 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.02491/0.02491, allocations: 4.714 MB / 307.4 MB, free: 5.215 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002002/0.002002, allocations: 63.91 kB / 427.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 53.28 MB / 480.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003173/0.1131, allocations: 1.697 MB / 482.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000978/0.1141, allocations: 486.7 kB / 483 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.1141, allocations: 7.938 kB / 483 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1143, allocations: 11.86 kB / 483 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.1144, allocations: 31.72 kB / 483 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1146, allocations: 31.95 kB / 483.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1148, allocations: 119.6 kB / 483.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.115, allocations: 49.3 kB / 483.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1151, allocations: 51.78 kB / 483.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1152, allocations: 63.69 kB / 483.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1153, allocations: 12 kB / 483.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.1153, allocations: 12 kB / 483.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1153, allocations: 23.91 kB / 483.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.1154, allocations: 51.72 kB / 483.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1156, allocations: 103.5 kB / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1156, allocations: 0 / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1156, allocations: 0 / 483.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1156, allocations: 0 / 483.5 MB, free: 11.98 MB / 350.1 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.0009028/0.1165, allocations: 472.5 kB / 484 MB, free: 11.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1165, allocations: 15.97 kB / 484 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.1166, allocations: 54.62 kB / 484.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1167, allocations: 20.84 kB / 484.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1169, allocations: 210.7 kB / 484.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1169, allocations: 8.375 kB / 484.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.117, allocations: 15.94 kB / 484.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.1174, allocations: 189.7 kB / 484.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1174, allocations: 7.984 kB / 484.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1174, allocations: 4 kB / 484.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1174, allocations: 4 kB / 484.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.1179, allocations: 135.8 kB / 484.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1189, allocations: 0.7433 MB / 485.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1195, allocations: 269.9 kB / 485.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.1197, allocations: 92.3 kB / 485.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1197, allocations: 0 / 485.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.1201, allocations: 167.5 kB / 485.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1201, allocations: 7.938 kB / 485.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007725/0.1209, allocations: 241.4 kB / 486.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.121, allocations: 154.2 kB / 486.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1212, allocations: 168 kB / 486.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1212, allocations: 33.98 kB / 486.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.1213, allocations: 116 kB / 486.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.1213, allocations: 47.75 kB / 486.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.1214, allocations: 21.72 kB / 486.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1216, allocations: 326.8 kB / 487 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1218, allocations: 59.94 kB / 487.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.122, allocations: 112.2 kB / 487.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1225, allocations: 185.8 kB / 487.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1225, allocations: 3.938 kB / 487.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005834/0.123, allocations: 223.1 kB / 487.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.1231, allocations: 33.7 kB / 487.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1231, allocations: 4.094 kB / 487.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1231, allocations: 7.922 kB / 487.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1233, allocations: 35.91 kB / 487.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1233, allocations: 0 / 487.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.1235, allocations: 19.98 kB / 487.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1235, allocations: 4 kB / 487.7 MB, free: 7.406 MB / 350.1 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 0.0001286/0.1236, allocations: 137.7 kB / 487.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1236, allocations: 16.33 kB / 487.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1239, allocations: 90.52 kB / 487.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.1239, allocations: 4 kB / 487.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1239, allocations: 0 / 487.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1239, allocations: 7.984 kB / 487.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.1243, allocations: 449.6 kB / 488.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1243, allocations: 8.062 kB / 488.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1245, allocations: 27.91 kB / 488.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1245, allocations: 4 kB / 488.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1245, allocations: 4 kB / 488.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1245, allocations: 4 kB / 488.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1245, allocations: 0 / 488.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.1251, allocations: 373 kB / 488.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1251, allocations: 89.02 kB / 488.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.1252, allocations: 8 kB / 488.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1254, allocations: 23.91 kB / 488.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1255, allocations: 19.92 kB / 488.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1255, allocations: 11.98 kB / 488.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1256, allocations: 126.5 kB / 489 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1256, allocations: 0 / 489 MB, free: 5.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1259, allocations: 27.94 kB / 489.1 MB, free: 5.883 MB / 350.1 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.001144/0.127, allocations: 0.9764 MB / 490 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1276, allocations: 203.1 kB / 490.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1276, allocations: 3.938 kB / 490.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.1278, allocations: 88.05 kB / 490.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1282, allocations: 24.98 kB / 490.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1313, allocations: 2.159 MB / 492.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1317, allocations: 0.7274 MB / 493.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.1318, allocations: 16.88 kB / 493.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.1319, allocations: 39.42 kB / 493.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1319, allocations: 4 kB / 493.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1573, allocations: 3.068 MB / 496.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.22, allocations: 21.61 kB / 496.4 MB, free: 14.43 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 10.776344997342676] Failed to read output from testmodel.py, exit status != 0: 8.289616959169507 8.310076011 8.191646472 Calling exit ...