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.0007873/0.0007873, 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.0009037/0.0009037, allocations: 169.9 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.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.0133/0.0133, allocations: 3.566 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 1.452e-06/1.452e-06, allocations: 0 / 386.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.009e-05, allocations: 2.281 kB / 386.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002123/0.002143, allocations: 1.67 MB / 388.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.00294, allocations: 0.5376 MB / 389 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.003008, allocations: 4 kB / 389 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.698e-05/0.003095, allocations: 11.86 kB / 389 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.003155, allocations: 27.73 kB / 389 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.003384, allocations: 59.8 kB / 389.1 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.003536, allocations: 127.5 kB / 389.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.003664, allocations: 37.22 kB / 389.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.003825, allocations: 87.69 kB / 389.3 MB, free: 7.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.003892, allocations: 43.88 kB / 389.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003911, allocations: 8 kB / 389.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.003948, allocations: 16 kB / 389.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.003984, allocations: 27.84 kB / 389.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.004025, allocations: 31.91 kB / 389.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.004166, allocations: 119.7 kB / 389.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004168, allocations: 0 / 389.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004169, allocations: 0 / 389.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004174, allocations: 0 / 389.6 MB, free: 7.113 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.0005379/0.004711, allocations: 403.3 kB / 390 MB, free: 6.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004744, allocations: 8.031 kB / 390 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.004805, allocations: 62.56 kB / 390 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.004933, allocations: 44.75 kB / 390.1 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005092, allocations: 161.4 kB / 390.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.005103, allocations: 8.375 kB / 390.3 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.005119, allocations: 12.38 kB / 390.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.005425, allocations: 191 kB / 390.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005433, allocations: 192 / 390.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.005448, allocations: 16.11 kB / 390.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.005453, allocations: 0 / 390.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.005669, allocations: 135.8 kB / 390.6 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.006234, allocations: 0.6917 MB / 391.3 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.006524, allocations: 193 kB / 391.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.006644, allocations: 88.23 kB / 391.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.006662, allocations: 4 kB / 391.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.006861, allocations: 159.5 kB / 391.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.21e-07/0.006862, allocations: 0 / 391.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000425/0.007287, allocations: 249.3 kB / 392 MB, free: 4.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.007345, allocations: 162.2 kB / 392.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.007449, allocations: 179.6 kB / 392.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.007464, allocations: 29.7 kB / 392.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.007518, allocations: 116 kB / 392.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.007543, allocations: 47.75 kB / 392.5 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.007583, allocations: 25.7 kB / 392.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.007661, allocations: 326.8 kB / 392.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.007783, allocations: 89.64 kB / 392.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.007908, allocations: 129 kB / 393.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.008128, allocations: 189.8 kB / 393.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.00813, allocations: 0 / 393.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000298/0.008428, allocations: 261.1 kB / 393.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.008453, allocations: 33.7 kB / 393.5 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.008458, allocations: 3.984 kB / 393.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008471, allocations: 11.97 kB / 393.5 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.008558, allocations: 31.91 kB / 393.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.008564, allocations: 4 kB / 393.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.008639, allocations: 24.03 kB / 393.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.00865, allocations: 8 kB / 393.6 MB, free: 2.703 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 0.000357/0.009007, allocations: 129.8 kB / 393.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.009023, allocations: 11.95 kB / 393.7 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.009149, allocations: 98.55 kB / 393.8 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.009153, allocations: 4 kB / 393.8 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.009157, allocations: 0 / 393.8 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009162, allocations: 7.984 kB / 393.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.009411, allocations: 400.9 kB / 394.2 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.009414, allocations: 11.94 kB / 394.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.009478, allocations: 27.97 kB / 394.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.00948, allocations: 0 / 394.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.009493, allocations: 11.98 kB / 394.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.009495, allocations: 0 / 394.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.009497, allocations: 3.938 kB / 394.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.009789, allocations: 369.1 kB / 394.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.009804, allocations: 15.89 kB / 394.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.009821, allocations: 4 kB / 394.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.009916, allocations: 15.97 kB / 394.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.009977, allocations: 23.97 kB / 394.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.009987, allocations: 7.938 kB / 394.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.01005, allocations: 123.2 kB / 394.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 0 / 394.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01027, allocations: 39.88 kB / 394.9 MB, free: 1.332 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.0005935/0.01086, allocations: 0.9717 MB / 395.9 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.01117, allocations: 236.9 kB / 396.1 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01118, allocations: 0 / 396.1 MB, free: 76 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.01132, allocations: 79.92 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.0002645/0.01158, allocations: 12.72 kB / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.01337, allocations: 2.307 MB / 398.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.01345, allocations: 109.4 kB / 398.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.0135, allocations: 20.48 kB / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.01357, allocations: 40.48 kB / 398.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01357, allocations: 0 / 398.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.02768, allocations: 3.887 MB / 402.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.58/6.608, allocations: 7.328 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 & /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: 8.4006572002545] Failed to read output from testmodel.py, exit status != 0: 6.688097036443651 6.840196757 6.834154006 Calling exit ...