Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.001245/0.001245, allocations: 113.5 kB / 17.13 MB, free: 5.754 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.001226/0.001226, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.412/1.412, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8142/0.8142, allocations: 129.2 MB / 432.5 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.88 kB / 0.5987 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3992, allocations: 83.43 MB / 0.6802 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.212/0.6112, allocations: 182.4 MB / 0.8583 GB, free: 7.023 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.6176, allocations: 4.478 MB / 0.8627 GB, free: 2.535 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.6182, allocations: 19.88 kB / 0.8627 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.6189, allocations: 254.1 kB / 0.863 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.6208, allocations: 0.7892 MB / 0.8637 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.4194/1.04, allocations: 1.548 MB / 0.8653 GB, free: 3.234 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001886/1.042, allocations: 1.241 MB / 0.8665 GB, free: 3.234 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/1.043, allocations: 377.1 kB / 0.8668 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/1.044, allocations: 0.8152 MB / 0.8676 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/1.045, allocations: 420.7 kB / 0.868 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/1.045, allocations: 46.09 kB / 0.8681 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.048, allocations: 1.633 MB / 0.8697 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/1.048, allocations: 188.1 kB / 0.8698 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003652/1.048, allocations: 303.5 kB / 0.8701 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/1.051, allocations: 1.311 MB / 0.8714 GB, free: 3.152 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.051, allocations: 1.125 kB / 0.8714 GB, free: 3.152 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/1.051, allocations: 0 / 0.8714 GB, free: 3.152 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.048e-05/1.051, allocations: 0.6562 kB / 0.8714 GB, free: 3.152 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002177/1.053, allocations: 1.039 MB / 0.8724 GB, free: 18.47 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.053, allocations: 10.34 kB / 0.8724 GB, free: 18.47 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/1.053, allocations: 83.33 kB / 0.8725 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/1.055, allocations: 284 kB / 0.8728 GB, free: 18.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/1.056, allocations: 469.5 kB / 0.8732 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.056, allocations: 34.88 kB / 0.8733 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/1.056, allocations: 40.14 kB / 0.8733 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/1.057, allocations: 0.5506 MB / 0.8738 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.057, allocations: 5.5 kB / 0.8739 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/1.058, allocations: 18.78 kB / 0.8739 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/1.058, allocations: 10.12 kB / 0.8739 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/1.059, allocations: 455.2 kB / 0.8743 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/1.061, allocations: 2.126 MB / 0.8764 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/1.062, allocations: 395.3 kB / 0.8768 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/1.063, allocations: 214.9 kB / 0.877 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007274/1.064, allocations: 399.6 kB / 0.8774 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/1.064, allocations: 291 kB / 0.8776 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/1.064, allocations: 0.8125 kB / 0.8776 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001775/1.066, allocations: 0.6927 MB / 0.8783 GB, free: 16.26 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.066, allocations: 57.81 kB / 0.8784 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/1.067, allocations: 495.3 kB / 0.8788 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/1.067, allocations: 38.27 kB / 0.8789 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.067, allocations: 260.9 kB / 0.8791 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/1.067, allocations: 130.5 kB / 0.8792 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.067, allocations: 93.06 kB / 0.8793 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.067, allocations: 369.6 kB / 0.8797 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/1.068, allocations: 197.2 kB / 0.8799 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/1.068, allocations: 319 kB / 0.8802 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/1.069, allocations: 0.5383 MB / 0.8807 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.069, allocations: 2.578 kB / 0.8807 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001231/1.07, allocations: 0.6457 MB / 0.8813 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/1.07, allocations: 64.14 kB / 0.8814 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.07, allocations: 3.812 kB / 0.8814 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.07, allocations: 6.219 kB / 0.8814 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/1.071, allocations: 98.62 kB / 0.8815 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.071, allocations: 4.625 kB / 0.8815 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/1.071, allocations: 81.59 kB / 0.8816 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.071, allocations: 23.11 kB / 0.8816 GB, free: 14.99 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002291/1.072, allocations: 202 kB / 0.8818 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/1.072, allocations: 56.44 kB / 0.8819 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/1.073, allocations: 0.5382 MB / 0.8824 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.073, allocations: 3.156 kB / 0.8824 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.073, allocations: 1.719 kB / 0.8824 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.073, allocations: 2.531 kB / 0.8824 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/1.075, allocations: 1.362 MB / 0.8837 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.075, allocations: 3.344 kB / 0.8837 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/1.076, allocations: 76.39 kB / 0.8838 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.076, allocations: 5.438 kB / 0.8838 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/1.076, allocations: 11.44 kB / 0.8838 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.076, allocations: 10.48 kB / 0.8838 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.076, allocations: 7.422 kB / 0.8838 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/1.077, allocations: 0.9321 MB / 0.8847 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.077, allocations: 169.2 kB / 0.8849 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/1.077, allocations: 18.55 kB / 0.8849 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/1.078, allocations: 32.66 kB / 0.8849 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.078, allocations: 49.92 kB / 0.885 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.078, allocations: 17.7 kB / 0.885 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004109/1.078, allocations: 348.4 kB / 0.8853 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.078, allocations: 0.875 kB / 0.8853 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006134/1.079, allocations: 148 kB / 0.8855 GB, free: 13.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002238/1.081, allocations: 1.583 MB / 0.887 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.082, allocations: 0.5668 MB / 0.8876 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.082, allocations: 0.9375 kB / 0.8876 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000621/1.083, allocations: 276.2 kB / 0.8878 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.084, allocations: 287 kB / 0.8881 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/1.092, allocations: 5.033 MB / 0.893 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/1.093, allocations: 0.8654 MB / 0.8939 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004984/1.093, allocations: 125.8 kB / 0.894 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.093, allocations: 181.4 kB / 0.8942 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/1.093, allocations: 0 / 0.8942 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/1.141, allocations: 15.93 MB / 0.9097 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.881/10.02, allocations: 7.25 kB / 0.9097 GB, free: 8.898 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.360064489301294] Failed to read output from testmodel.py, exit status != 0: 10.098744324874133 10.111080152 9.057234622 Calling exit ...