Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001262/0.001262, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001414/0.001414, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 134 MB / 447.2 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001892/0.001892, allocations: 62.39 kB / 0.6193 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1752, allocations: 85.91 MB / 0.7032 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5744/0.7496, allocations: 166.8 MB / 0.8661 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00658/0.7562, allocations: 4.648 MB / 0.8706 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.7566, allocations: 15.81 kB / 0.8707 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.757, allocations: 123.1 kB / 0.8708 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.7586, allocations: 0.5757 MB / 0.8713 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.7606, allocations: 0.8295 MB / 0.8721 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.7614, allocations: 0.5846 MB / 0.8727 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.7617, allocations: 165.4 kB / 0.8729 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.7627, allocations: 482.2 kB / 0.8733 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.7634, allocations: 322.6 kB / 0.8736 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.7634, allocations: 20 kB / 0.8737 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.7653, allocations: 1.103 MB / 0.8747 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.7654, allocations: 95.7 kB / 0.8748 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.7656, allocations: 127.3 kB / 0.8749 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.7667, allocations: 0.7305 MB / 0.8757 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7667, allocations: 0 / 0.8757 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7667, allocations: 0 / 0.8757 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.7667, allocations: 0 / 0.8757 GB, free: 5.973 MB / 0.6387 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.0009888/0.7677, allocations: 0.5391 MB / 0.8762 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.7678, allocations: 8.031 kB / 0.8762 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.926e-05/0.7678, allocations: 4 kB / 0.8762 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.7678, allocations: 54.55 kB / 0.8763 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000649/0.7685, allocations: 79.73 kB / 0.8763 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.7689, allocations: 237.7 kB / 0.8766 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.7689, allocations: 16 kB / 0.8766 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.769, allocations: 16 kB / 0.8766 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.7695, allocations: 295.3 kB / 0.8769 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7695, allocations: 0 / 0.8769 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.7695, allocations: 8 kB / 0.8769 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.7695, allocations: 4 kB / 0.8769 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.77, allocations: 207.7 kB / 0.8771 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.7716, allocations: 1.199 MB / 0.8782 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.7719, allocations: 169 kB / 0.8784 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.7722, allocations: 112.2 kB / 0.8785 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006194/0.7728, allocations: 103.9 kB / 0.8786 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.7728, allocations: 38.69 kB / 0.8787 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.7728, allocations: 0 / 0.8787 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0007949/0.7736, allocations: 281.9 kB / 0.8789 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.7737, allocations: 162.2 kB / 0.8791 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.774, allocations: 292.3 kB / 0.8794 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.7741, allocations: 29.64 kB / 0.8794 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.7742, allocations: 148 kB / 0.8795 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.7742, allocations: 51.53 kB / 0.8796 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.7743, allocations: 49.77 kB / 0.8796 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7745, allocations: 334.8 kB / 0.8799 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.7747, allocations: 67.94 kB / 0.88 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.7749, allocations: 146.8 kB / 0.8801 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.7753, allocations: 219.5 kB / 0.8804 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7753, allocations: 0 / 0.8804 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005414/0.7758, allocations: 237.5 kB / 0.8806 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7759, allocations: 15.98 kB / 0.8806 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7759, allocations: 0 / 0.8806 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.7759, allocations: 4 kB / 0.8806 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.7761, allocations: 31.98 kB / 0.8806 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.7761, allocations: 12.75 kB / 0.8806 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.7763, allocations: 31.88 kB / 0.8807 GB, free: 480 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.7763, allocations: 11.98 kB / 0.8807 GB, free: 468 kB / 0.6387 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.0001666/0.7765, allocations: 157.8 kB / 0.8808 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.7766, allocations: 23.86 kB / 0.8809 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.7771, allocations: 197.5 kB / 0.881 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.7771, allocations: 3.984 kB / 0.881 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7771, allocations: 7.938 kB / 0.8811 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7771, allocations: 0 / 0.8811 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.7782, allocations: 0.8228 MB / 0.8819 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7782, allocations: 0 / 0.8819 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.7783, allocations: 19.98 kB / 0.8819 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7783, allocations: 4 kB / 0.8819 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.7783, allocations: 7.984 kB / 0.8819 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7783, allocations: 0.5469 kB / 0.8819 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7783, allocations: 7.938 kB / 0.8819 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.7789, allocations: 343.6 kB / 0.8822 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.779, allocations: 39.88 kB / 0.8823 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.7791, allocations: 8 kB / 0.8823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.7792, allocations: 7.984 kB / 0.8823 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.7793, allocations: 7.984 kB / 0.8823 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.7793, allocations: 8 kB / 0.8823 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002812/0.7796, allocations: 235 kB / 0.8825 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7796, allocations: 3.938 kB / 0.8825 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005022/0.7801, allocations: 99.77 kB / 0.8826 GB, free: 14.35 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.001268/0.7813, allocations: 0.9712 MB / 0.8836 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.7818, allocations: 148.2 kB / 0.8837 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7818, allocations: 3.938 kB / 0.8837 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.7819, allocations: 55.89 kB / 0.8838 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007906/0.7827, allocations: 140.2 kB / 0.8839 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.7864, allocations: 2.777 MB / 0.8866 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.7868, allocations: 0.7596 MB / 0.8874 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.787, allocations: 69.94 kB / 0.8874 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.7872, allocations: 79.41 kB / 0.8875 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.7872, allocations: 0 / 0.8875 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.8209, allocations: 8.807 MB / 0.8961 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.18, allocations: 18.47 kB / 0.8961 GB, free: 0.5312 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.818360348930582] Failed to read output from testmodel.py, exit status != 0: 12.3447751669446 12.360974016 11.591216042 Calling exit ...