Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.0008259/0.0008259, 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.0008874/0.0008874, allocations: 165.9 kB / 22.45 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.897/0.897, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.01275/0.01275, allocations: 3.576 MB / 262.8 MB, free: 9.801 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.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 386.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.088e-05, allocations: 6.219 kB / 386.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.00317/0.003191, allocations: 3.002 MB / 389.8 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.00431, allocations: 0.834 MB / 390.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.004447, allocations: 4 kB / 390.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.004592, allocations: 59.38 kB / 390.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.004846, allocations: 134.8 kB / 390.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.005227, allocations: 159.6 kB / 391 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.00568, allocations: 0.5295 MB / 391.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.005998, allocations: 171.3 kB / 391.7 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.00638, allocations: 299.5 kB / 392 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.006567, allocations: 151.6 kB / 392.2 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.006633, allocations: 56 kB / 392.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.006716, allocations: 56 kB / 392.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.00679, allocations: 111.7 kB / 392.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.006923, allocations: 159.7 kB / 392.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.00739, allocations: 0.5687 MB / 393.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007394, allocations: 0 / 393.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007395, allocations: 0 / 393.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.007402, allocations: 0 / 393.1 MB, free: 3.562 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009746/0.008377, allocations: 0.6778 MB / 393.8 MB, free: 2.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.008418, allocations: 12.03 kB / 393.8 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.008474, allocations: 66.72 kB / 393.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.008662, allocations: 60.64 kB / 393.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.008989, allocations: 268.6 kB / 394.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.009089, allocations: 110.3 kB / 394.3 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.009132, allocations: 32.36 kB / 394.3 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.009675, allocations: 397.5 kB / 394.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.009689, allocations: 4.125 kB / 394.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.009714, allocations: 15.94 kB / 394.7 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009722, allocations: 4 kB / 394.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.0102, allocations: 330.3 kB / 395.1 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01155, allocations: 1.205 MB / 396.3 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.01216, allocations: 361.1 kB / 396.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.0124, allocations: 185.5 kB / 396.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.01243, allocations: 4 kB / 396.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.01277, allocations: 249.5 kB / 397 MB, free: 15.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.01277, allocations: 0 / 397 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007704/0.01354, allocations: 0.4894 MB / 397.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.01358, allocations: 81.11 kB / 397.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.01379, allocations: 288.2 kB / 397.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.01382, allocations: 29.7 kB / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01394, allocations: 204.5 kB / 398.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.014, allocations: 91.22 kB / 398.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.01408, allocations: 57.69 kB / 398.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.01417, allocations: 346.8 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.01442, allocations: 189.4 kB / 398.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.01467, allocations: 227.3 kB / 399 MB, free: 13.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.01513, allocations: 371.2 kB / 399.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01514, allocations: 0 / 399.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005819/0.01572, allocations: 484.6 kB / 399.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.01576, allocations: 33.7 kB / 399.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.01577, allocations: 3.984 kB / 399.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01578, allocations: 4 kB / 399.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.01635, allocations: 211.8 kB / 400.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.01741, allocations: 1.584 MB / 401.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.01757, allocations: 51.94 kB / 401.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01758, allocations: 12 kB / 401.7 MB, free: 10.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.01773, allocations: 176.2 kB / 401.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.01776, allocations: 31.81 kB / 401.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.01827, allocations: 371.6 kB / 402.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01828, allocations: 4 kB / 402.3 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01828, allocations: 0 / 402.3 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01828, allocations: 3.984 kB / 402.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.01858, allocations: 364.4 kB / 402.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01859, allocations: 0 / 402.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.01908, allocations: 203.7 kB / 402.9 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.01909, allocations: 3.938 kB / 402.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.01911, allocations: 8 kB / 402.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.02001, allocations: 1.584 MB / 404.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02001, allocations: 7.875 kB / 404.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.02074, allocations: 0.5737 MB / 405.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.02078, allocations: 47.86 kB / 405.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.0208, allocations: 7.938 kB / 405.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.02091, allocations: 27.97 kB / 405.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.02098, allocations: 23.95 kB / 405.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.02099, allocations: 4 kB / 405.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.02114, allocations: 215.1 kB / 405.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02114, allocations: 0 / 405.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.02146, allocations: 83.89 kB / 405.5 MB, free: 6.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009599/0.02242, allocations: 1.132 MB / 406.6 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.02329, allocations: 0.5362 MB / 407.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02329, allocations: 0 / 407.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.02382, allocations: 299.8 kB / 407.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.02409, allocations: 48.97 kB / 407.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.02779, allocations: 3.638 MB / 411.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02792, allocations: 188.8 kB / 411.3 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.02803, allocations: 26.28 kB / 411.3 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.02816, allocations: 112.5 kB / 411.4 MB, free: 384 kB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02816, allocations: 4 kB / 411.4 MB, free: 380 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/0.1693, allocations: 7.864 MB / 419.3 MB, free: 35 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.842, allocations: 10 kB / 419.3 MB, free: 34.99 MB / 330.7 MB " [Timeout remaining time 652] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.53585156146437] Failed to read output from testmodel.py, exit status != 0: 7.933384302072227 7.943069076 7.933932269 Calling exit ...