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.001542/0.001542, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001729/0.001729, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002476/0.002476, allocations: 285.3 kB / 313.5 MB, free: 2.617 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.216/1.216, allocations: 180.6 MB / 0.5377 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",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.002766/0.002766, allocations: 91.45 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 95.38 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1717/0.3358, allocations: 142.1 MB / 0.9722 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005485/0.3413, allocations: 4.18 MB / 0.9763 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.3416, allocations: 15.88 kB / 0.9763 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.3421, allocations: 127.1 kB / 0.9764 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009392/0.343, allocations: 342.4 kB / 0.9767 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.3438, allocations: 298.3 kB / 0.977 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.3445, allocations: 0.569 MB / 0.9776 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.3449, allocations: 165.4 kB / 0.9777 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.3458, allocations: 466.3 kB / 0.9782 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.3462, allocations: 207.2 kB / 0.9784 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.3462, allocations: 16 kB / 0.9784 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3464, allocations: 83.92 kB / 0.9785 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3465, allocations: 95.66 kB / 0.9786 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3466, allocations: 99.53 kB / 0.9787 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.347, allocations: 306.8 kB / 0.9789 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.347, allocations: 0 / 0.9789 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3471, allocations: 0 / 0.9789 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3471, allocations: 0 / 0.9789 GB, free: 2.77 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.0007888/0.3478, allocations: 464.8 kB / 0.9794 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3479, allocations: 13.34 kB / 0.9794 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.3479, allocations: 7.938 kB / 0.9794 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.348, allocations: 54.48 kB / 0.9795 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.348, allocations: 31.81 kB / 0.9795 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3484, allocations: 225.7 kB / 0.9797 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3484, allocations: 16 kB / 0.9797 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.3485, allocations: 16 kB / 0.9797 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.3489, allocations: 265.8 kB / 0.98 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3489, allocations: 7.938 kB / 0.98 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.349, allocations: 15.98 kB / 0.98 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.349, allocations: 4 kB / 0.98 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.3493, allocations: 139.8 kB / 0.9802 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3507, allocations: 1.3 MB / 0.9814 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3764/0.727, allocations: 177.4 kB / 0.9816 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.7272, allocations: 88.62 kB / 0.9817 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.7275, allocations: 47.86 kB / 0.9817 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7276, allocations: 44.31 kB / 0.9818 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.7276, allocations: 0 / 0.9818 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006544/0.7282, allocations: 207.8 kB / 0.982 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.7283, allocations: 190.5 kB / 0.9821 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.7286, allocations: 288 kB / 0.9824 GB, free: 152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.7286, allocations: 30.23 kB / 0.9824 GB, free: 152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.7287, allocations: 146.6 kB / 0.9826 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.7287, allocations: 41.77 kB / 0.9826 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.7288, allocations: 36.08 kB / 0.9827 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.7289, allocations: 335 kB / 0.983 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.729, allocations: 44.45 kB / 0.983 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.7292, allocations: 223.7 kB / 0.9832 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.7295, allocations: 163.7 kB / 0.9834 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7295, allocations: 1.719 kB / 0.9834 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003586/0.7298, allocations: 192.9 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7299, allocations: 6.125 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7299, allocations: 1.656 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7299, allocations: 3.641 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.73, allocations: 28.72 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.73, allocations: 9.703 kB / 0.9836 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.7302, allocations: 34.69 kB / 0.9837 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.7302, allocations: 8.016 kB / 0.9837 GB, free: 151.2 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.7303, allocations: 149.4 kB / 0.9838 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.7304, allocations: 24.64 kB / 0.9838 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.7308, allocations: 128.4 kB / 0.984 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.7308, allocations: 2.938 kB / 0.984 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7308, allocations: 1.344 kB / 0.984 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7308, allocations: 3.719 kB / 0.984 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.7315, allocations: 0.7314 MB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7315, allocations: 1.812 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.7316, allocations: 25.55 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7316, allocations: 1.938 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.7316, allocations: 5.797 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.7316, allocations: 5.812 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7316, allocations: 3.078 kB / 0.9847 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.7321, allocations: 342.3 kB / 0.985 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.7322, allocations: 34.22 kB / 0.9851 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.7322, allocations: 6.031 kB / 0.9851 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7324, allocations: 12.75 kB / 0.9851 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.7324, allocations: 15.44 kB / 0.9851 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7324, allocations: 3.594 kB / 0.9851 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002085/0.7326, allocations: 213.1 kB / 0.9853 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7326, allocations: 0.9062 kB / 0.9853 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003371/0.733, allocations: 59.94 kB / 0.9854 GB, free: 150.1 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.0007582/0.7337, allocations: 0.893 MB / 0.9862 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.7341, allocations: 120.6 kB / 0.9864 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7341, allocations: 0 / 0.9864 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.7342, allocations: 57.75 kB / 0.9864 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.735, allocations: 137.3 kB / 0.9865 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.7377, allocations: 2.609 MB / 0.9891 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.7378, allocations: 154.3 kB / 0.9892 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.738, allocations: 55.41 kB / 0.9893 GB, free: 147.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.7381, allocations: 67.02 kB / 0.9894 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7381, allocations: 0 / 0.9894 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.7683, allocations: 7.495 MB / 0.9967 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.85, allocations: 2.688 kB / 0.9967 GB, free: 145.9 MB / 0.7169 GB " [Timeout remaining time 648] (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.969273237977177] Failed to read output from testmodel.py, exit status != 0: 12.014644342008978 12.034335316 11.683893285 Calling exit ...