Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.001286/0.001286, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001412/0.001412, allocations: 214.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002614/0.002614, allocations: 276.5 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.178/1.178, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 105.7 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.176, allocations: 95.37 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1728/0.3488, allocations: 142.2 MB / 0.9715 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005376/0.3542, allocations: 4.196 MB / 0.9756 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3545, allocations: 15.81 kB / 0.9756 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.3549, allocations: 135.1 kB / 0.9758 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.3558, allocations: 342.4 kB / 0.9761 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.3565, allocations: 277.4 kB / 0.9763 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.3572, allocations: 0.573 MB / 0.9769 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.3574, allocations: 157.4 kB / 0.9771 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.3584, allocations: 478.2 kB / 0.9775 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3586, allocations: 191.2 kB / 0.9777 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.3587, allocations: 16 kB / 0.9777 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3589, allocations: 83.91 kB / 0.9778 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.359, allocations: 87.72 kB / 0.9779 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3591, allocations: 103.5 kB / 0.978 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.3595, allocations: 298.8 kB / 0.9783 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3595, allocations: 0 / 0.9783 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3595, allocations: 0 / 0.9783 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3595, allocations: 0 / 0.9783 GB, free: 2.652 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008515/0.3604, allocations: 478.2 kB / 0.9787 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3604, allocations: 17.28 kB / 0.9787 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.3605, allocations: 50.55 kB / 0.9788 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3606, allocations: 35.75 kB / 0.9788 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.361, allocations: 221.7 kB / 0.979 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.361, allocations: 12 kB / 0.979 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.361, allocations: 20 kB / 0.9791 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.3615, allocations: 261.9 kB / 0.9793 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3615, allocations: 3.938 kB / 0.9793 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3615, allocations: 8 kB / 0.9793 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3615, allocations: 4 kB / 0.9793 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.3619, allocations: 155.7 kB / 0.9795 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3383/0.7001, allocations: 1.291 MB / 0.9807 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.7005, allocations: 177.7 kB / 0.9809 GB, free: 152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.7006, allocations: 90.48 kB / 0.981 GB, free: 152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.701, allocations: 44.98 kB / 0.981 GB, free: 152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.701, allocations: 39.5 kB / 0.9811 GB, free: 152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.701, allocations: 1.094 kB / 0.9811 GB, free: 152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006156/0.7016, allocations: 216 kB / 0.9813 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.7017, allocations: 183.6 kB / 0.9814 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.7019, allocations: 291.1 kB / 0.9817 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.702, allocations: 30.45 kB / 0.9818 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.702, allocations: 148.6 kB / 0.9819 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.7021, allocations: 39.91 kB / 0.9819 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.7021, allocations: 36.61 kB / 0.982 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.7022, allocations: 345.1 kB / 0.9823 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.7023, allocations: 44.39 kB / 0.9823 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.7025, allocations: 220.9 kB / 0.9826 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.7028, allocations: 165.7 kB / 0.9827 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7028, allocations: 0.8125 kB / 0.9827 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003474/0.7031, allocations: 183.7 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7031, allocations: 5.438 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7032, allocations: 3.688 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7032, allocations: 8.219 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.7033, allocations: 33.08 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7033, allocations: 6.812 kB / 0.9829 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.7035, allocations: 28.75 kB / 0.983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.7035, allocations: 10.84 kB / 0.983 GB, free: 150.8 MB / 0.7169 GB 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 (15): * Single equations (assignments): 15 * 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 0.000103/0.7036, allocations: 149.8 kB / 0.9831 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.7037, allocations: 29.22 kB / 0.9831 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.704, allocations: 126.9 kB / 0.9833 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.704, allocations: 2.312 kB / 0.9833 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7041, allocations: 9.812 kB / 0.9833 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7041, allocations: 2.141 kB / 0.9833 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.7048, allocations: 0.7295 MB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7048, allocations: 1.438 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.7049, allocations: 26.11 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7049, allocations: 1.906 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.7049, allocations: 7.484 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7049, allocations: 5.594 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7049, allocations: 5.844 kB / 0.984 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.7054, allocations: 340.1 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.7055, allocations: 33.69 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.7055, allocations: 7.109 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7056, allocations: 6.859 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.7057, allocations: 12 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.7057, allocations: 10.33 kB / 0.9844 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002122/0.7059, allocations: 213 kB / 0.9846 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7059, allocations: 0 / 0.9846 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003486/0.7062, allocations: 57.23 kB / 0.9847 GB, free: 149.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0007844/0.707, allocations: 0.8911 MB / 0.9856 GB, free: 149 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.7074, allocations: 122.6 kB / 0.9857 GB, free: 149 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7074, allocations: 1.031 kB / 0.9857 GB, free: 149 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7075, allocations: 60.31 kB / 0.9857 GB, free: 149 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.7083, allocations: 120.7 kB / 0.9859 GB, free: 149 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.7111, allocations: 2.628 MB / 0.9884 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.7112, allocations: 147.7 kB / 0.9886 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.7114, allocations: 55.33 kB / 0.9886 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.7114, allocations: 68.17 kB / 0.9887 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.272e-06/0.7114, allocations: 0 / 0.9887 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.749, allocations: 7.856 MB / 0.9963 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.36, allocations: 4.844 kB / 0.9964 GB, free: 145.1 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.36506370594725] Failed to read output from testmodel.py, exit status != 0: 11.459644197952002 11.472339850000001 11.11057762 Calling exit ...