Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001306/0.001306, allocations: 105.8 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.002151/0.002151, 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.715 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.02317/0.02317, allocations: 4.697 MB / 307.4 MB, free: 3.188 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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 427.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2656, allocations: 53.26 MB / 480.8 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003702/0.2693, allocations: 2.893 MB / 483.7 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2703, allocations: 0.669 MB / 484.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2705, allocations: 10 kB / 484.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2706, allocations: 43.72 kB / 484.4 MB, free: 23.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2708, allocations: 91.94 kB / 484.5 MB, free: 23.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2712, allocations: 99.47 kB / 484.6 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.2715, allocations: 381 kB / 485 MB, free: 23.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2718, allocations: 143.8 kB / 485.1 MB, free: 22.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.272, allocations: 152.5 kB / 485.3 MB, free: 22.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2722, allocations: 151.9 kB / 485.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.2722, allocations: 38.5 kB / 485.5 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.2723, allocations: 38.62 kB / 485.5 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.2724, allocations: 81.73 kB / 485.6 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2725, allocations: 166 kB / 485.7 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.273, allocations: 395 kB / 486.1 MB, free: 22.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.273, allocations: 0 / 486.1 MB, free: 22.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.273, allocations: 0 / 486.1 MB, free: 22.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.273, allocations: 0 / 486.1 MB, free: 22.44 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001128/0.2741, allocations: 0.6437 MB / 486.8 MB, free: 21.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2742, allocations: 12.25 kB / 486.8 MB, free: 21.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.2743, allocations: 63.3 kB / 486.8 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.2743, allocations: 33.88 kB / 486.9 MB, free: 21.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2746, allocations: 281.9 kB / 487.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2746, allocations: 17.92 kB / 487.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.2747, allocations: 23.94 kB / 487.2 MB, free: 21.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.2752, allocations: 314.6 kB / 487.5 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2753, allocations: 0 / 487.5 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2753, allocations: 11.06 kB / 487.5 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.2753, allocations: 14 kB / 487.5 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.2759, allocations: 239.2 kB / 487.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2772, allocations: 0.9967 MB / 488.8 MB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.2779, allocations: 274.4 kB / 489 MB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.2781, allocations: 131.4 kB / 489.2 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.2782, allocations: 0.6094 kB / 489.2 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.2786, allocations: 183.3 kB / 489.3 MB, free: 20.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.2786, allocations: 0 / 489.3 MB, free: 20.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008633/0.2794, allocations: 384.2 kB / 489.7 MB, free: 20.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2795, allocations: 59.42 kB / 489.8 MB, free: 20.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.2796, allocations: 216.1 kB / 490 MB, free: 20.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2797, allocations: 31.92 kB / 490 MB, free: 19.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.2798, allocations: 166.2 kB / 490.2 MB, free: 19.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.2798, allocations: 78.72 kB / 490.2 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.2799, allocations: 47.02 kB / 490.3 MB, free: 19.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.28, allocations: 332.3 kB / 490.6 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.2803, allocations: 114.3 kB / 490.7 MB, free: 19.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.2806, allocations: 144.5 kB / 490.9 MB, free: 19.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.2811, allocations: 281.2 kB / 491.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2811, allocations: 1.062 kB / 491.1 MB, free: 19.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006841/0.2818, allocations: 361.8 kB / 491.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.2819, allocations: 41.62 kB / 491.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2819, allocations: 1.062 kB / 491.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2819, allocations: 3.047 kB / 491.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.2822, allocations: 59.16 kB / 491.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2822, allocations: 6.953 kB / 491.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.2825, allocations: 35.67 kB / 491.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2825, allocations: 10.31 kB / 491.7 MB, free: 18.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001301/0.2826, allocations: 149.9 kB / 491.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.2826, allocations: 26.33 kB / 491.8 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.2833, allocations: 304.2 kB / 492.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2833, allocations: 2.156 kB / 492.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2833, allocations: 2.016 kB / 492.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2833, allocations: 4.984 kB / 492.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.2837, allocations: 375.6 kB / 492.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2837, allocations: 0.5625 kB / 492.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.284, allocations: 61.89 kB / 492.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.284, allocations: 1.125 kB / 492.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.284, allocations: 6.438 kB / 492.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2841, allocations: 1.062 kB / 492.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2841, allocations: 1.922 kB / 492.6 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.285, allocations: 453.6 kB / 493 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.285, allocations: 105.7 kB / 493.1 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.2851, allocations: 6.469 kB / 493.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2853, allocations: 27.39 kB / 493.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.2854, allocations: 21.34 kB / 493.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.2854, allocations: 5.891 kB / 493.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.2855, allocations: 160 kB / 493.3 MB, free: 17.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2855, allocations: 0 / 493.3 MB, free: 17.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.2858, allocations: 70.06 kB / 493.4 MB, free: 17.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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 (22): * Single equations (assignments): 20 * 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.001109/0.2869, allocations: 0.9942 MB / 494.4 MB, free: 17.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.2876, allocations: 308.4 kB / 494.7 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2876, allocations: 0 / 494.7 MB, free: 17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.2879, allocations: 127.3 kB / 494.8 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2882, allocations: 27.78 kB / 494.8 MB, free: 16.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.292, allocations: 2.811 MB / 497.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2922, allocations: 0.7596 MB / 498.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.2923, allocations: 29.34 kB / 498.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2924, allocations: 82.94 kB / 498.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2924, allocations: 0 / 498.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.3284, allocations: 5.269 MB / 0.492 GB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.445, allocations: 8.297 kB / 0.492 GB, free: 13.63 MB / 366.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.937370545230806] Failed to read output from testmodel.py, exit status != 0: 8.535645861644298 8.557612793 8.280660858 Calling exit ...