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.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.001889/0.001889, allocations: 104.6 kB / 16.45 MB, free: 6.445 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.002269/0.002269, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.567/1.567, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.02361/0.02361, allocations: 4.705 MB / 307.4 MB, free: 3.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.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 0.002002/0.002002, allocations: 59.89 kB / 427.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 53.27 MB / 480.8 MB, free: 25.6 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.002957/0.2815, allocations: 2.219 MB / 483 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.2818, allocations: 166 kB / 483.2 MB, free: 23.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.2819, allocations: 3.031 kB / 483.2 MB, free: 23.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.282, allocations: 25.72 kB / 483.2 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.2821, allocations: 43.69 kB / 483.3 MB, free: 23.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2823, allocations: 48.75 kB / 483.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.2825, allocations: 212 kB / 483.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.2827, allocations: 111.8 kB / 483.6 MB, free: 23.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.2828, allocations: 70.31 kB / 483.7 MB, free: 23.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2829, allocations: 70.95 kB / 483.8 MB, free: 23.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.283, allocations: 21.72 kB / 483.8 MB, free: 23.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.283, allocations: 18.59 kB / 483.8 MB, free: 23.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.283, allocations: 44.8 kB / 483.8 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.2831, allocations: 87.05 kB / 483.9 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2833, allocations: 216 kB / 484.1 MB, free: 23.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2833, allocations: 0 / 484.1 MB, free: 23.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2833, allocations: 3 kB / 484.1 MB, free: 23.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2834, allocations: 0 / 484.1 MB, free: 23.41 MB / 366.1 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.0005621/0.2839, allocations: 454.6 kB / 484.6 MB, free: 22.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.284, allocations: 9.031 kB / 484.6 MB, free: 22.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.284, allocations: 51.69 kB / 484.6 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.284, allocations: 17.84 kB / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2842, allocations: 206.7 kB / 484.9 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2842, allocations: 14.81 kB / 484.9 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2843, allocations: 13.66 kB / 484.9 MB, free: 22.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.2845, allocations: 181.3 kB / 485.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2845, allocations: 7.875 kB / 485.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2845, allocations: 7.094 kB / 485.1 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2845, allocations: 3.188 kB / 485.1 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.2847, allocations: 99.67 kB / 485.2 MB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.2854, allocations: 0.7703 MB / 486 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.2855, allocations: 63.45 kB / 486 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.2855, allocations: 25.17 kB / 486 MB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2856, allocations: 4 kB / 486 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.2856, allocations: 37.75 kB / 486.1 MB, free: 21.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2856, allocations: 0 / 486.1 MB, free: 21.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000203/0.2858, allocations: 98.61 kB / 486.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2858, allocations: 58.41 kB / 486.2 MB, free: 21.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2859, allocations: 169.4 kB / 486.4 MB, free: 21.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2859, allocations: 28.77 kB / 486.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.286, allocations: 144.9 kB / 486.6 MB, free: 21.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.286, allocations: 22.58 kB / 486.6 MB, free: 21.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.286, allocations: 30.23 kB / 486.6 MB, free: 21.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.2861, allocations: 325.4 kB / 486.9 MB, free: 21.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.2861, allocations: 27.06 kB / 487 MB, free: 21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.2862, allocations: 75.89 kB / 487 MB, free: 20.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2863, allocations: 118.8 kB / 487.2 MB, free: 20.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2863, allocations: 4 kB / 487.2 MB, free: 20.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001601/0.2865, allocations: 137.5 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2865, allocations: 8.406 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2865, allocations: 2.906 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2865, allocations: 2.688 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2866, allocations: 28.47 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2866, allocations: 3.094 kB / 487.3 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.2867, allocations: 26.31 kB / 487.4 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2867, allocations: 10.53 kB / 487.4 MB, free: 20.7 MB / 366.1 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 7.816e-05/0.2868, allocations: 137.5 kB / 487.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2868, allocations: 6.484 kB / 487.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2869, allocations: 15.81 kB / 487.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2869, allocations: 2.688 kB / 487.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.2869, allocations: 3.469 kB / 487.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2869, allocations: 3.938 kB / 487.5 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.2871, allocations: 227.8 kB / 487.8 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2871, allocations: 4 kB / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/0.2872, allocations: 12.81 kB / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2872, allocations: 2.875 kB / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2872, allocations: 0 / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2872, allocations: 0 / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2872, allocations: 3.234 kB / 487.8 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.2874, allocations: 213.7 kB / 488 MB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.2874, allocations: 91.2 kB / 488.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2874, allocations: 0 / 488.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.2875, allocations: 7.188 kB / 488.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.2875, allocations: 15.81 kB / 488.1 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.2875, allocations: 3.125 kB / 488.1 MB, free: 20.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.731e-05/0.2876, allocations: 124.4 kB / 488.2 MB, free: 19.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2876, allocations: 0 / 488.2 MB, free: 19.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2878, allocations: 31.27 kB / 488.3 MB, free: 19.93 MB / 366.1 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.0003324/0.2882, allocations: 0.7409 MB / 489 MB, free: 19.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.2883, allocations: 64.06 kB / 489.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2883, allocations: 0 / 489.1 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.2883, allocations: 27.44 kB / 489.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2886, allocations: 32.89 kB / 489.1 MB, free: 19.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2902, allocations: 1.845 MB / 491 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2903, allocations: 0.7165 MB / 491.7 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.394e-05/0.2904, allocations: 15.27 kB / 491.7 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.2905, allocations: 36.38 kB / 491.7 MB, free: 16.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2905, allocations: 0 / 491.7 MB, free: 16.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.3176, allocations: 2.8 MB / 494.5 MB, free: 16.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.266, allocations: 13.67 kB / 494.6 MB, free: 16.37 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.800567504949868] Failed to read output from testmodel.py, exit status != 0: 8.335827788803726 8.359131954 8.071346295 Calling exit ...