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.001274/0.001274, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001522/0.001522, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002427/0.002427, allocations: 288.3 kB / 313.5 MB, free: 2.621 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.184/1.184, 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.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",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.002782/0.002782, allocations: 101.2 kB / 0.7403 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1599, allocations: 95.38 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1962/0.3561, allocations: 143.8 MB / 0.9738 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006455/0.3625, allocations: 4.219 MB / 0.9779 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.363, allocations: 15.88 kB / 0.978 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.3635, allocations: 131 kB / 0.9781 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.3652, allocations: 0.5718 MB / 0.9786 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.3674, allocations: 0.7941 MB / 0.9794 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000896/0.3683, allocations: 0.5923 MB / 0.98 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3687, allocations: 165.4 kB / 0.9802 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3698, allocations: 474.3 kB / 0.9806 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.3706, allocations: 318.7 kB / 0.9809 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3706, allocations: 24 kB / 0.9809 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4123/0.7829, allocations: 0.8547 MB / 0.9818 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.7831, allocations: 90.61 kB / 0.9819 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.7833, allocations: 110.4 kB / 0.982 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.7847, allocations: 0.6767 MB / 0.9826 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7847, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7847, allocations: 0.625 kB / 0.9826 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7848, allocations: 0 / 0.9826 GB, free: 4.723 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009842/0.7857, allocations: 0.5326 MB / 0.9831 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7858, allocations: 14.81 kB / 0.9832 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.7858, allocations: 4.25 kB / 0.9832 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.7858, allocations: 56.55 kB / 0.9832 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.7865, allocations: 77.48 kB / 0.9833 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.7869, allocations: 239.8 kB / 0.9835 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.787, allocations: 14.97 kB / 0.9835 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.787, allocations: 18.72 kB / 0.9836 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.7875, allocations: 292 kB / 0.9838 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7875, allocations: 0 / 0.9838 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.7876, allocations: 12.97 kB / 0.9838 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7876, allocations: 5.047 kB / 0.9838 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.788, allocations: 214.7 kB / 0.9841 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.7896, allocations: 1.163 MB / 0.9852 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.7899, allocations: 171.6 kB / 0.9854 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.7901, allocations: 108.7 kB / 0.9855 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.7908, allocations: 105.7 kB / 0.9856 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.7908, allocations: 38.34 kB / 0.9856 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.7908, allocations: 0 / 0.9856 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007403/0.7915, allocations: 282.4 kB / 0.9859 GB, free: 19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.7916, allocations: 162.1 kB / 0.986 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.7919, allocations: 285.5 kB / 0.9863 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.7919, allocations: 28.48 kB / 0.9863 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.792, allocations: 151.7 kB / 0.9865 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.7921, allocations: 46.02 kB / 0.9865 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.7922, allocations: 45.44 kB / 0.9865 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7923, allocations: 334.6 kB / 0.9869 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.7925, allocations: 78.34 kB / 0.9869 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.7927, allocations: 246 kB / 0.9872 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.7931, allocations: 209.4 kB / 0.9874 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7931, allocations: 1.969 kB / 0.9874 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005112/0.7936, allocations: 244.9 kB / 0.9876 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7936, allocations: 7.844 kB / 0.9876 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7936, allocations: 3.531 kB / 0.9876 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.7937, allocations: 4.234 kB / 0.9876 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7939, allocations: 43.02 kB / 0.9877 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7939, allocations: 7.859 kB / 0.9877 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.7941, allocations: 36.55 kB / 0.9877 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.7941, allocations: 10 kB / 0.9877 GB, free: 17.88 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.0001563/0.7942, allocations: 146.9 kB / 0.9879 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7944, allocations: 25.92 kB / 0.9879 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.7949, allocations: 188.6 kB / 0.9881 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.7949, allocations: 3.188 kB / 0.9881 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7949, allocations: 5.625 kB / 0.9881 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.7949, allocations: 3.141 kB / 0.9881 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7959, allocations: 0.8057 MB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7959, allocations: 1.984 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.796, allocations: 27.36 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.796, allocations: 1.031 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.796, allocations: 3.891 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.7961, allocations: 6.125 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7961, allocations: 1.812 kB / 0.9889 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.7967, allocations: 341.6 kB / 0.9892 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.7967, allocations: 36.2 kB / 0.9893 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.7968, allocations: 5.344 kB / 0.9893 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7969, allocations: 10.67 kB / 0.9893 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.797, allocations: 14.81 kB / 0.9893 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.797, allocations: 3.656 kB / 0.9893 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002626/0.7973, allocations: 238 kB / 0.9895 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7973, allocations: 1.062 kB / 0.9895 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005645/0.7978, allocations: 100.9 kB / 0.9896 GB, free: 16.79 MB / 0.7325 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.00124/0.7991, allocations: 0.976 MB / 0.9906 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.7995, allocations: 144.1 kB / 0.9907 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7995, allocations: 1.938 kB / 0.9907 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.7996, allocations: 63.11 kB / 0.9908 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.8003, allocations: 131.7 kB / 0.9909 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.8037, allocations: 2.778 MB / 0.9936 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.8038, allocations: 149 kB / 0.9938 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.804, allocations: 71.48 kB / 0.9938 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.8041, allocations: 78.8 kB / 0.9939 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.8041, allocations: 0 / 0.9939 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.8378, allocations: 9.275 MB / 1.003 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.11, allocations: 8.562 kB / 1.003 GB, free: 13.64 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.18411289306823] Failed to read output from testmodel.py, exit status != 0: 12.271696226904169 12.283843513 11.496558515 Calling exit ...