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.001508/0.001508, allocations: 116.1 kB / 17.17 MB, free: 6 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.001658/0.001658, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002382/0.002382, allocations: 282.5 kB / 309.8 MB, free: 3.484 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.08/1.08, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.002932/0.002932, allocations: 91.86 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5584, allocations: 95.35 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.2109/0.7693, allocations: 166.6 MB / 0.9905 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006111/0.7754, allocations: 4.628 MB / 0.995 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.7758, allocations: 15.88 kB / 0.9951 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.7762, allocations: 123.1 kB / 0.9952 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.7775, allocations: 0.5679 MB / 0.9957 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.7793, allocations: 0.7915 MB / 0.9965 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.78, allocations: 0.5729 MB / 0.9971 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.7803, allocations: 188 kB / 0.9972 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.7813, allocations: 482.2 kB / 0.9977 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.7819, allocations: 318.8 kB / 0.998 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.7819, allocations: 16 kB / 0.998 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.7835, allocations: 1.079 MB / 0.9991 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.7836, allocations: 87.72 kB / 0.9992 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7837, allocations: 127.4 kB / 0.9993 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.7847, allocations: 0.7204 MB / 1 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7848, allocations: 8 kB / 1 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7848, allocations: 3.938 kB / 1 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.7848, allocations: 0 / 1 GB, free: 9.277 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.001009/0.7858, allocations: 0.6067 MB / 1.001 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7858, allocations: 8.031 kB / 1.001 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.7858, allocations: 4 kB / 1.001 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.7859, allocations: 58.48 kB / 1.001 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.7865, allocations: 71.8 kB / 1.001 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.7869, allocations: 295.5 kB / 1.001 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.787, allocations: 19.94 kB / 1.001 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.787, allocations: 20 kB / 1.001 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.7875, allocations: 283.5 kB / 1.001 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.7875, allocations: 3.938 kB / 1.001 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.7875, allocations: 7.938 kB / 1.001 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.7875, allocations: 8 kB / 1.001 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.788, allocations: 211.5 kB / 1.002 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.7896, allocations: 1.234 MB / 1.003 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.7899, allocations: 176.9 kB / 1.003 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.7901, allocations: 104.2 kB / 1.003 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.7908, allocations: 335.3 kB / 1.003 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7908, allocations: 34.56 kB / 1.003 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.7908, allocations: 4 kB / 1.003 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007623/0.7916, allocations: 281.2 kB / 1.004 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.7917, allocations: 162.2 kB / 1.004 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.792, allocations: 287.5 kB / 1.004 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.792, allocations: 29.7 kB / 1.004 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.7921, allocations: 151.9 kB / 1.004 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.7922, allocations: 43.64 kB / 1.004 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.7922, allocations: 41.7 kB / 1.004 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7924, allocations: 338.8 kB / 1.005 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.7926, allocations: 67.94 kB / 1.005 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.7928, allocations: 148.8 kB / 1.005 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.7932, allocations: 215.5 kB / 1.005 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7932, allocations: 0 / 1.005 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005149/0.7937, allocations: 257.1 kB / 1.005 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7937, allocations: 7.938 kB / 1.005 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7937, allocations: 4 kB / 1.005 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7937, allocations: 0 / 1.005 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.7939, allocations: 43.91 kB / 1.005 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7939, allocations: 0 / 1.005 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.7941, allocations: 40 kB / 1.005 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.7941, allocations: 8 kB / 1.005 GB, free: 3.281 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.0001419/0.7943, allocations: 149.8 kB / 1.006 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.7944, allocations: 27.81 kB / 1.006 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.7949, allocations: 189.8 kB / 1.006 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7949, allocations: 4 kB / 1.006 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7949, allocations: 0 / 1.006 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.7949, allocations: 3.938 kB / 1.006 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.7959, allocations: 0.855 MB / 1.007 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7959, allocations: 3.938 kB / 1.007 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.796, allocations: 23.98 kB / 1.007 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.796, allocations: 0 / 1.007 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.796, allocations: 8.156 kB / 1.007 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.796, allocations: 3.938 kB / 1.007 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.796, allocations: 4 kB / 1.007 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.7966, allocations: 335.5 kB / 1.007 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.7967, allocations: 120.8 kB / 1.007 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.7967, allocations: 3.953 kB / 1.007 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.7969, allocations: 12 kB / 1.007 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.7969, allocations: 7.984 kB / 1.007 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.797, allocations: 8.062 kB / 1.007 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002452/0.7972, allocations: 237.9 kB / 1.007 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7972, allocations: 3.938 kB / 1.007 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004577/0.7977, allocations: 95.86 kB / 1.007 GB, free: 1.055 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.001161/0.7988, allocations: 0.9752 MB / 1.008 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.7992, allocations: 155.7 kB / 1.009 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7992, allocations: 0 / 1.009 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7994, allocations: 56.53 kB / 1.009 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.8001, allocations: 138.9 kB / 1.009 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.8036, allocations: 2.775 MB / 1.011 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.804, allocations: 0.7595 MB / 1.012 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.8041, allocations: 54.94 kB / 1.012 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.8042, allocations: 79.41 kB / 1.012 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.8042, allocations: 0 / 1.012 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.8339, allocations: 8.69 MB / 1.021 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.997, allocations: 18.2 kB / 1.021 GB, free: 3.336 MB / 0.7481 GB " [Timeout remaining time 651] (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.993512941990048] Failed to read output from testmodel.py, exit status != 0: 9.124985944014043 9.140185818 8.352259948 Calling exit ...