Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001268/0.001268, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00136/0.00136, allocations: 212.4 kB / 22.99 MB, free: 4.977 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9122/0.9122, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001891/0.001891, allocations: 69.14 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1917, allocations: 89.17 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5691/0.7608, allocations: 143.9 MB / 0.8687 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.7667, allocations: 4.214 MB / 0.8728 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003314/0.7671, allocations: 11.88 kB / 0.8728 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.7675, allocations: 135 kB / 0.8729 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.7689, allocations: 0.564 MB / 0.8735 GB, free: 412 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.7707, allocations: 0.7975 MB / 0.8743 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.7715, allocations: 0.5807 MB / 0.8748 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.7718, allocations: 169.4 kB / 0.875 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.7733, allocations: 0.6694 MB / 0.8757 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/0.7739, allocations: 298.5 kB / 0.8759 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.7739, allocations: 20 kB / 0.876 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.7754, allocations: 0.8531 MB / 0.8768 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.7755, allocations: 87.78 kB / 0.8769 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.7756, allocations: 111.5 kB / 0.877 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7766, allocations: 0.6798 MB / 0.8777 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7766, allocations: 4 kB / 0.8777 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7766, allocations: 0 / 0.8777 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7766, allocations: 0 / 0.8777 GB, free: 12.14 MB / 0.6544 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.0009215/0.7775, allocations: 0.5313 MB / 0.8782 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7776, allocations: 8.031 kB / 0.8782 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.26e-05/0.7777, allocations: 58.53 kB / 0.8782 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006104/0.7783, allocations: 75.75 kB / 0.8783 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.7787, allocations: 237.7 kB / 0.8785 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7787, allocations: 12 kB / 0.8785 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.7788, allocations: 24 kB / 0.8786 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.7793, allocations: 279.4 kB / 0.8788 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7793, allocations: 7.938 kB / 0.8788 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.7793, allocations: 11.98 kB / 0.8789 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7793, allocations: 4 kB / 0.8789 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.7798, allocations: 207.5 kB / 0.8791 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.7814, allocations: 1.167 MB / 0.8802 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.7818, allocations: 169 kB / 0.8804 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.782, allocations: 108.2 kB / 0.8805 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/0.7826, allocations: 107.9 kB / 0.8806 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.7826, allocations: 38.69 kB / 0.8806 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.7826, allocations: 3.938 kB / 0.8806 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007763/0.7834, allocations: 277.8 kB / 0.8809 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7835, allocations: 162.2 kB / 0.881 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.7838, allocations: 292.2 kB / 0.8813 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.7839, allocations: 25.7 kB / 0.8813 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.784, allocations: 151.9 kB / 0.8815 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.7841, allocations: 51.58 kB / 0.8815 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.7841, allocations: 45.66 kB / 0.8816 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.7843, allocations: 334.8 kB / 0.8819 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.7845, allocations: 67.86 kB / 0.882 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.7848, allocations: 253.4 kB / 0.8822 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.7852, allocations: 211.5 kB / 0.8824 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7852, allocations: 7.938 kB / 0.8824 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005323/0.7858, allocations: 241.2 kB / 0.8826 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.7858, allocations: 4 kB / 0.8826 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.7858, allocations: 4 kB / 0.8826 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.7858, allocations: 4 kB / 0.8826 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.786, allocations: 44.16 kB / 0.8827 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.786, allocations: 7.938 kB / 0.8827 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7862, allocations: 27.88 kB / 0.8827 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.7863, allocations: 15.98 kB / 0.8827 GB, free: 6.543 MB / 0.6544 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.0001705/0.7864, allocations: 153.7 kB / 0.8829 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.7866, allocations: 23.86 kB / 0.8829 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.7871, allocations: 197.9 kB / 0.8831 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.7871, allocations: 4 kB / 0.8831 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7871, allocations: 3.938 kB / 0.8831 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.7871, allocations: 7.984 kB / 0.8831 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.7881, allocations: 0.7995 MB / 0.8839 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7882, allocations: 0 / 0.8839 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.7883, allocations: 23.92 kB / 0.8839 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.7883, allocations: 4 kB / 0.8839 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7883, allocations: 4 kB / 0.8839 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7883, allocations: 7.984 kB / 0.8839 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7883, allocations: 0 / 0.8839 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.7889, allocations: 347.6 kB / 0.8843 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.789, allocations: 35.78 kB / 0.8843 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.789, allocations: 4 kB / 0.8843 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.7892, allocations: 4 kB / 0.8843 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7892, allocations: 15.98 kB / 0.8843 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.7892, allocations: 7.984 kB / 0.8843 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002609/0.7895, allocations: 231 kB / 0.8845 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7895, allocations: 4.062 kB / 0.8845 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000502/0.79, allocations: 103.8 kB / 0.8846 GB, free: 4.465 MB / 0.6544 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.00127/0.7913, allocations: 0.9856 MB / 0.8856 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.7917, allocations: 143.8 kB / 0.8857 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7917, allocations: 0 / 0.8857 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7918, allocations: 59.89 kB / 0.8858 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.7926, allocations: 133.3 kB / 0.8859 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.7964, allocations: 2.77 MB / 0.8886 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.7966, allocations: 150.2 kB / 0.8888 GB, free: 36 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.7968, allocations: 66.88 kB / 0.8888 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.7969, allocations: 75.41 kB / 0.8889 GB, free: 15.9 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.7969, allocations: 0 / 0.8889 GB, free: 15.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05777/0.8547, allocations: 9.653 MB / 0.8983 GB, free: 6.512 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.97, allocations: 3.125 kB / 0.8983 GB, free: 6.512 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.560747675132006] Failed to read output from testmodel.py, exit status != 0: 12.076595705002546 12.103608941 11.32202259 Calling exit ...