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.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.0007258/0.0007258, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007794/0.0007794, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001459/0.001459, allocations: 236.1 kB / 259.4 MB, free: 13.02 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.7049/0.7049, allocations: 138.4 MB / 454.3 MB, free: 30 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.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 1.513e-06/1.513e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.216e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3711/0.3711, allocations: 143.9 MB / 0.7868 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3747, allocations: 4.199 MB / 0.7909 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.3749, allocations: 15.88 kB / 0.7909 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.3753, allocations: 131 kB / 0.791 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009692/0.3762, allocations: 0.5791 MB / 0.7916 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3775, allocations: 0.8399 MB / 0.7924 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.378, allocations: 0.5766 MB / 0.793 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3782, allocations: 161.4 kB / 0.7931 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007089/0.3789, allocations: 0.5332 MB / 0.7937 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.3793, allocations: 291.1 kB / 0.7939 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.3794, allocations: 16 kB / 0.794 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009665/0.3803, allocations: 0.8684 MB / 0.7948 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.3804, allocations: 95.7 kB / 0.7949 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.3805, allocations: 79.84 kB / 0.795 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.3813, allocations: 0.7323 MB / 0.7957 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3813, allocations: 0 / 0.7957 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3813, allocations: 0 / 0.7957 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3813, allocations: 4 kB / 0.7957 GB, free: 2.113 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007003/0.382, allocations: 0.537 MB / 0.7962 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.382, allocations: 9.938 kB / 0.7962 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.3821, allocations: 55.2 kB / 0.7963 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.3824, allocations: 75.73 kB / 0.7963 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.3827, allocations: 250.2 kB / 0.7966 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3828, allocations: 12 kB / 0.7966 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3828, allocations: 20 kB / 0.7966 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3831, allocations: 286.7 kB / 0.7969 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3831, allocations: 0 / 0.7969 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3831, allocations: 8.656 kB / 0.7969 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3831, allocations: 4 kB / 0.7969 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3834, allocations: 212.3 kB / 0.7971 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3845, allocations: 1.152 MB / 0.7982 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3847, allocations: 176.9 kB / 0.7984 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3848, allocations: 116.1 kB / 0.7985 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.3851, allocations: 102.8 kB / 0.7986 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.3851, allocations: 46.69 kB / 0.7986 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.3851, allocations: 0 / 0.7986 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004703/0.3856, allocations: 277.2 kB / 0.7989 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3857, allocations: 162.1 kB / 0.7991 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3859, allocations: 288.2 kB / 0.7993 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3859, allocations: 26.2 kB / 0.7994 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.386, allocations: 151.9 kB / 0.7995 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.386, allocations: 55.58 kB / 0.7996 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.386, allocations: 41.7 kB / 0.7996 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.3861, allocations: 334.8 kB / 0.7999 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.3862, allocations: 67.94 kB / 0.8 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3864, allocations: 249.7 kB / 0.8002 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.3866, allocations: 211.5 kB / 0.8004 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3866, allocations: 3.938 kB / 0.8004 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003021/0.3869, allocations: 253.3 kB / 0.8007 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3869, allocations: 8 kB / 0.8007 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3869, allocations: 4 kB / 0.8007 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.387, allocations: 0 / 0.8007 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3871, allocations: 39.97 kB / 0.8007 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3871, allocations: 1.094 kB / 0.8007 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.3872, allocations: 35.81 kB / 0.8008 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3872, allocations: 11.98 kB / 0.8008 GB, free: 12.52 MB / 0.6355 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 9.415e-05/0.3873, allocations: 157.8 kB / 0.8009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.3873, allocations: 23.86 kB / 0.8009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.3876, allocations: 195.2 kB / 0.8011 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3876, allocations: 4 kB / 0.8011 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3876, allocations: 0 / 0.8011 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3876, allocations: 0 / 0.8011 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.3882, allocations: 0.7977 MB / 0.8019 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3882, allocations: 6.625 kB / 0.8019 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.3883, allocations: 28.08 kB / 0.8019 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.3883, allocations: 4 kB / 0.802 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3883, allocations: 4 kB / 0.802 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3883, allocations: 7.938 kB / 0.802 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3883, allocations: 0 / 0.802 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3887, allocations: 335.5 kB / 0.8023 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3887, allocations: 35.81 kB / 0.8023 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3887, allocations: 8.062 kB / 0.8023 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.3888, allocations: 15.92 kB / 0.8023 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3889, allocations: 11.92 kB / 0.8024 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3889, allocations: 5.125 kB / 0.8024 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001594/0.389, allocations: 239 kB / 0.8026 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.389, allocations: 0 / 0.8026 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003139/0.3893, allocations: 95.8 kB / 0.8027 GB, free: 10.46 MB / 0.6355 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.000714/0.3901, allocations: 0.9816 MB / 0.8036 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3903, allocations: 148.6 kB / 0.8038 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3903, allocations: 0 / 0.8038 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.3904, allocations: 55.91 kB / 0.8038 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3908, allocations: 143.9 kB / 0.804 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3933, allocations: 2.74 MB / 0.8066 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.646e-05/0.3934, allocations: 150.2 kB / 0.8068 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.3935, allocations: 60.91 kB / 0.8068 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.3936, allocations: 80.47 kB / 0.8069 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/0.3936, allocations: 0 / 0.8069 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4144, allocations: 9.796 MB / 0.8165 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/7.239, allocations: 6.281 kB / 0.8165 GB, free: 12.44 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.84213925525546] Failed to read output from testmodel.py, exit status != 0: 7.322042154148221 7.337194629 6.953239393 Calling exit ...