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.0007553/0.0007553, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000778/0.000778, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8612/0.8612, allocations: 177.2 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.001404/0.001404, allocations: 234 kB / 259.4 MB, free: 12.91 MB / 250.7 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 0.6769/0.6769, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.174e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3745/0.3745, allocations: 142.2 MB / 0.7851 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004212/0.3787, allocations: 4.172 MB / 0.7892 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.3791, allocations: 11.88 kB / 0.7892 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004194/0.3795, allocations: 135 kB / 0.7894 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.3803, allocations: 354.1 kB / 0.7897 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.381, allocations: 304.6 kB / 0.79 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.3815, allocations: 0.565 MB / 0.7905 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.3817, allocations: 161.3 kB / 0.7907 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.3826, allocations: 0.5216 MB / 0.7912 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3828, allocations: 175.5 kB / 0.7914 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3828, allocations: 16 kB / 0.7914 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.383, allocations: 83.91 kB / 0.7915 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.383, allocations: 87.72 kB / 0.7915 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.3831, allocations: 79.83 kB / 0.7916 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.3835, allocations: 315 kB / 0.7919 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3835, allocations: 0 / 0.7919 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3835, allocations: 8 kB / 0.7919 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3835, allocations: 0 / 0.7919 GB, free: 5.934 MB / 0.6198 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.0006382/0.3841, allocations: 470.6 kB / 0.7924 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3842, allocations: 9.938 kB / 0.7924 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3842, allocations: 55.2 kB / 0.7924 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3843, allocations: 31.78 kB / 0.7925 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.3847, allocations: 229.6 kB / 0.7927 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3848, allocations: 16 kB / 0.7927 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3848, allocations: 16 kB / 0.7927 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.3851, allocations: 262.1 kB / 0.793 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3851, allocations: 0.6562 kB / 0.793 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3851, allocations: 12 kB / 0.793 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3851, allocations: 7.938 kB / 0.793 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.3853, allocations: 147.8 kB / 0.7931 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.3863, allocations: 1.297 MB / 0.7944 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3865, allocations: 175.7 kB / 0.7946 GB, free: 3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.3866, allocations: 89.11 kB / 0.7947 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.3868, allocations: 48.41 kB / 0.7947 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3868, allocations: 38.5 kB / 0.7947 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.3868, allocations: 0 / 0.7947 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003824/0.3872, allocations: 213.2 kB / 0.7949 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3872, allocations: 187.9 kB / 0.7951 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3874, allocations: 296.2 kB / 0.7954 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3875, allocations: 25.7 kB / 0.7954 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.3876, allocations: 147.9 kB / 0.7956 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3876, allocations: 36.38 kB / 0.7956 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.3876, allocations: 37.66 kB / 0.7956 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.3877, allocations: 338.8 kB / 0.796 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.3878, allocations: 47.91 kB / 0.796 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3879, allocations: 224 kB / 0.7962 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3881, allocations: 152.1 kB / 0.7964 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3881, allocations: 4 kB / 0.7964 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000221/0.3883, allocations: 189.3 kB / 0.7965 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3883, allocations: 4.219 kB / 0.7966 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3884, allocations: 8 kB / 0.7966 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3884, allocations: 7.938 kB / 0.7966 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3885, allocations: 34.05 kB / 0.7966 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3885, allocations: 3.984 kB / 0.7966 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.3886, allocations: 27.83 kB / 0.7966 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3886, allocations: 19.97 kB / 0.7966 GB, free: 0.6797 MB / 0.6198 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 9.608e-05/0.3887, allocations: 137.8 kB / 0.7968 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3888, allocations: 23.86 kB / 0.7968 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.389, allocations: 135.1 kB / 0.7969 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.389, allocations: 7.938 kB / 0.7969 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.389, allocations: 3.984 kB / 0.7969 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.389, allocations: 0 / 0.7969 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.3896, allocations: 0.7303 MB / 0.7977 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3896, allocations: 3.938 kB / 0.7977 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.3897, allocations: 19.98 kB / 0.7977 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3897, allocations: 8.156 kB / 0.7977 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3897, allocations: 0 / 0.7977 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3897, allocations: 4 kB / 0.7977 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3897, allocations: 0 / 0.7977 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.39, allocations: 346.9 kB / 0.798 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3901, allocations: 31.88 kB / 0.7981 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3901, allocations: 11.98 kB / 0.7981 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.3902, allocations: 8.062 kB / 0.7981 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3902, allocations: 11.98 kB / 0.7981 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3902, allocations: 4 kB / 0.7981 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3903, allocations: 215 kB / 0.7983 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3903, allocations: 0 / 0.7983 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002498/0.3906, allocations: 59.92 kB / 0.7983 GB, free: 14.83 MB / 0.6355 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.0006095/0.3912, allocations: 0.9028 MB / 0.7992 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.3917, allocations: 118.5 kB / 0.7993 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3917, allocations: 0 / 0.7993 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.3917, allocations: 56.72 kB / 0.7994 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.3922, allocations: 130.8 kB / 0.7995 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.3944, allocations: 2.591 MB / 0.8021 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3945, allocations: 150.2 kB / 0.8022 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.3946, allocations: 51.14 kB / 0.8022 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.3947, allocations: 68.47 kB / 0.8023 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.3947, allocations: 0 / 0.8023 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.4155, allocations: 7.956 MB / 0.8101 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/7.231, allocations: 3.984 kB / 0.8101 GB, free: 2.938 MB / 0.6355 GB " [Timeout remaining time 653] (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: 9.787476030178368] Failed to read output from testmodel.py, exit status != 0: 7.3137071169912815 7.3230954729999995 6.937447626 Calling exit ...