Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.001182/0.001182, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001202/0.001202, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.308/1.308, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002404/0.002404, allocations: 293.3 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 180.9 MB / 0.5261 GB, free: 14.74 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 105.2 kB / 0.7248 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1488, allocations: 94.16 MB / 0.8167 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.176/0.3248, allocations: 163.8 MB / 0.9767 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.3305, allocations: 4.591 MB / 0.9811 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.3307, allocations: 7.938 kB / 0.9811 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.3311, allocations: 131.1 kB / 0.9813 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3324, allocations: 0.564 MB / 0.9818 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.334, allocations: 0.7738 MB / 0.9826 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.3347, allocations: 0.5846 MB / 0.9831 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.335, allocations: 177.2 kB / 0.9833 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.3359, allocations: 490.2 kB / 0.9838 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.3364, allocations: 306.8 kB / 0.9841 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.3364, allocations: 16 kB / 0.9841 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.338, allocations: 1.072 MB / 0.9851 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3381, allocations: 87.73 kB / 0.9852 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3382, allocations: 123.4 kB / 0.9853 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3392, allocations: 0.7204 MB / 0.986 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3392, allocations: 0 / 0.986 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3393, allocations: 3.984 kB / 0.986 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3393, allocations: 3.938 kB / 0.986 GB, free: 7.414 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009136/0.3402, allocations: 0.5989 MB / 0.9866 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3402, allocations: 12.03 kB / 0.9866 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.3403, allocations: 50.55 kB / 0.9867 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006109/0.3409, allocations: 87.66 kB / 0.9868 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.3413, allocations: 295.6 kB / 0.9871 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3413, allocations: 15.95 kB / 0.9871 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.3414, allocations: 20 kB / 0.9871 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.3419, allocations: 284.2 kB / 0.9874 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3419, allocations: 0 / 0.9874 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3419, allocations: 11.94 kB / 0.9874 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3419, allocations: 4 kB / 0.9874 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.3423, allocations: 207.7 kB / 0.9876 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.3439, allocations: 1.238 MB / 0.9888 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3442, allocations: 173 kB / 0.989 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.3444, allocations: 108.2 kB / 0.9891 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000752/0.3451, allocations: 339.2 kB / 0.9894 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3451, allocations: 38.69 kB / 0.9894 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.3451, allocations: 8 kB / 0.9894 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000716/0.3459, allocations: 269.3 kB / 0.9897 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3459, allocations: 158.2 kB / 0.9898 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3462, allocations: 291.5 kB / 0.9901 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3463, allocations: 33.7 kB / 0.9901 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3464, allocations: 148 kB / 0.9903 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3464, allocations: 43.59 kB / 0.9903 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.3465, allocations: 41.7 kB / 0.9904 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3466, allocations: 342.8 kB / 0.9907 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3468, allocations: 63.95 kB / 0.9908 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.347, allocations: 140.5 kB / 0.9909 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.3474, allocations: 211.5 kB / 0.9911 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3474, allocations: 384 / 0.9911 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004944/0.3479, allocations: 249.2 kB / 0.9913 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3479, allocations: 11.94 kB / 0.9913 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3479, allocations: 4 kB / 0.9913 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3479, allocations: 7.938 kB / 0.9913 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3481, allocations: 35.97 kB / 0.9914 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3481, allocations: 4 kB / 0.9914 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3483, allocations: 43.95 kB / 0.9914 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3483, allocations: 11.94 kB / 0.9914 GB, free: 1.418 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001312/0.3484, allocations: 145.8 kB / 0.9916 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.3486, allocations: 27.81 kB / 0.9916 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.349, allocations: 185.8 kB / 0.9918 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.349, allocations: 7.984 kB / 0.9918 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.349, allocations: 0 / 0.9918 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3491, allocations: 11.92 kB / 0.9918 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.35, allocations: 0.8433 MB / 0.9926 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.35, allocations: 4 kB / 0.9926 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.3501, allocations: 31.84 kB / 0.9927 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3501, allocations: 4 kB / 0.9927 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3502, allocations: 160 / 0.9927 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3502, allocations: 8 kB / 0.9927 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3502, allocations: 0 / 0.9927 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.3507, allocations: 351.4 kB / 0.993 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3508, allocations: 108.9 kB / 0.9931 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.3509, allocations: 12.12 kB / 0.9931 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.351, allocations: 7.984 kB / 0.9931 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3511, allocations: 7.984 kB / 0.9931 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3511, allocations: 8 kB / 0.9931 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000231/0.3513, allocations: 238 kB / 0.9934 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3513, allocations: 0 / 0.9934 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004177/0.3517, allocations: 99.77 kB / 0.9935 GB, free: 15.19 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001265/0.353, allocations: 0.9917 MB / 0.9944 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3534, allocations: 147.8 kB / 0.9946 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3534, allocations: 0 / 0.9946 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3535, allocations: 64.7 kB / 0.9946 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.3543, allocations: 132.8 kB / 0.9948 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3576, allocations: 2.765 MB / 0.9975 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.358, allocations: 0.7558 MB / 0.9982 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.3582, allocations: 62.94 kB / 0.9983 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3583, allocations: 87.34 kB / 0.9983 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.3583, allocations: 0 / 0.9983 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.3923, allocations: 8.677 MB / 1.007 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.426, allocations: 11.25 kB / 1.007 GB, free: 1.488 MB / 0.7481 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.514611599966884] Failed to read output from testmodel.py, exit status != 0: 8.498747604899108 8.844719167 8.503177805 Calling exit ...