Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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.0007845/0.0007845, 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.0008864/0.0008864, 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.895/0.895, 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.01317/0.01317, allocations: 3.576 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.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 386.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.077e-05, allocations: 2.281 kB / 386.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002459/0.00248, allocations: 2.115 MB / 389 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.002791, allocations: 175.4 kB / 389.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.002869, allocations: 4 kB / 389.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.002976, allocations: 15.8 kB / 389.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.003053, allocations: 59.48 kB / 389.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.003211, allocations: 43.95 kB / 389.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.003414, allocations: 215.6 kB / 389.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.003745, allocations: 100.5 kB / 389.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.003855, allocations: 115.8 kB / 389.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.00397, allocations: 51.77 kB / 389.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.004008, allocations: 20 kB / 389.7 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.004033, allocations: 24 kB / 389.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.004072, allocations: 39.89 kB / 389.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.004136, allocations: 67.84 kB / 389.9 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.004345, allocations: 199.5 kB / 390.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.004348, allocations: 0 / 390.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004349, allocations: 0 / 390.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004354, allocations: 0 / 390.1 MB, free: 6.629 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005262/0.00488, allocations: 389.6 kB / 390.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.004921, allocations: 12.03 kB / 390.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.004959, allocations: 46.73 kB / 390.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.004989, allocations: 16.84 kB / 390.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.005162, allocations: 157.5 kB / 390.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.005174, allocations: 12.38 kB / 390.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.005197, allocations: 12.38 kB / 390.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.005411, allocations: 177.7 kB / 390.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005419, allocations: 4.188 kB / 390.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.005434, allocations: 12.38 kB / 390.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005441, allocations: 8.125 kB / 390.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.005561, allocations: 92.8 kB / 391 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.006233, allocations: 0.6808 MB / 391.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.006319, allocations: 58.5 kB / 391.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.006359, allocations: 28.98 kB / 391.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.00637, allocations: 4 kB / 391.8 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.00639, allocations: 34.56 kB / 391.8 MB, free: 4.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.006392, allocations: 0 / 391.8 MB, free: 4.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001996/0.006591, allocations: 105.6 kB / 391.9 MB, free: 4.637 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.006624, allocations: 55.34 kB / 392 MB, free: 4.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.006747, allocations: 170.8 kB / 392.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006758, allocations: 25.7 kB / 392.1 MB, free: 4.363 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.006828, allocations: 147.7 kB / 392.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.006846, allocations: 19.86 kB / 392.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.006883, allocations: 33.64 kB / 392.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.006968, allocations: 326.8 kB / 392.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.007005, allocations: 27.98 kB / 392.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.007061, allocations: 78.23 kB / 392.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.007164, allocations: 126.7 kB / 392.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.007168, allocations: 8 kB / 392.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006047/0.007773, allocations: 141.4 kB / 393 MB, free: 3.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.007791, allocations: 4 kB / 393 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.007798, allocations: 4 kB / 393 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.007813, allocations: 0 / 393 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.007932, allocations: 27.98 kB / 393.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.007939, allocations: 4 kB / 393.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.007979, allocations: 15.89 kB / 393.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007987, allocations: 8.219 kB / 393.1 MB, free: 3.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 8.499e-05/0.008072, allocations: 141.7 kB / 393.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.008091, allocations: 11.94 kB / 393.2 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.008118, allocations: 16.78 kB / 393.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00812, allocations: 0 / 393.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.008125, allocations: 0 / 393.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.00813, allocations: 3.984 kB / 393.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.00829, allocations: 200.6 kB / 393.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008292, allocations: 0 / 393.5 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.008364, allocations: 15.98 kB / 393.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.008367, allocations: 4 kB / 393.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.008375, allocations: 4 kB / 393.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008377, allocations: 0 / 393.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008378, allocations: 0 / 393.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.008569, allocations: 211.4 kB / 393.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.008587, allocations: 7.938 kB / 393.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.008604, allocations: 4.031 kB / 393.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.008642, allocations: 3.938 kB / 393.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.008658, allocations: 0 / 393.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.008663, allocations: 8 kB / 393.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.036e-05/0.008734, allocations: 119.2 kB / 393.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008734, allocations: 4.062 kB / 393.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.008914, allocations: 35.89 kB / 393.9 MB, free: 2.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003202/0.009234, allocations: 0.7475 MB / 394.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.009352, allocations: 67.92 kB / 394.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009354, allocations: 0 / 394.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.00938, allocations: 27.92 kB / 394.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.009617, allocations: 13.28 kB / 394.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.01104, allocations: 1.841 MB / 396.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.01111, allocations: 106.1 kB / 396.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.01117, allocations: 12.64 kB / 396.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.01123, allocations: 36.48 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01123, allocations: 4 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.0306, allocations: 3.53 MB / 400.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/6.551, allocations: 4.062 kB / 400.3 MB, free: 12.08 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.358605149202049] Failed to read output from testmodel.py, exit status != 0: 6.631231243722141 6.792858753 6.785871978 Calling exit ...