Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001829/0.001829, allocations: 116.8 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.002161/0.002161, allocations: 214.3 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8236/0.8236, allocations: 133.9 MB / 443.5 MB, free: 13.94 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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.001981/0.001981, allocations: 67.88 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.149, allocations: 85.85 MB / 0.698 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.203/0.352, allocations: 172.9 MB / 0.8668 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3961/0.748, allocations: 7.165 MB / 0.8738 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.7485, allocations: 17.62 kB / 0.8738 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.749, allocations: 173.7 kB / 0.874 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.7523, allocations: 1.314 MB / 0.8753 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.7539, allocations: 0.6387 MB / 0.8759 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000956/0.7549, allocations: 0.7606 MB / 0.8766 GB, free: 1.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.7553, allocations: 255.6 kB / 0.8769 GB, free: 1.676 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.7564, allocations: 0.5881 MB / 0.8775 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007725/0.7572, allocations: 457 kB / 0.8779 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.7572, allocations: 26.94 kB / 0.8779 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.7594, allocations: 1.336 MB / 0.8792 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.7595, allocations: 125 kB / 0.8793 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.7597, allocations: 176.3 kB / 0.8795 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.7611, allocations: 0.9187 MB / 0.8804 GB, free: 1.602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7611, allocations: 0.9062 kB / 0.8804 GB, free: 1.602 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7611, allocations: 0.7812 kB / 0.8804 GB, free: 1.602 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7611, allocations: 0.9688 kB / 0.8804 GB, free: 1.602 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001253/0.7624, allocations: 0.7083 MB / 0.8811 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7624, allocations: 11.27 kB / 0.8811 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.994e-05/0.7625, allocations: 13.5 kB / 0.8811 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.7625, allocations: 61.47 kB / 0.8812 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7636, allocations: 133.2 kB / 0.8813 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.7642, allocations: 339.7 kB / 0.8816 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/0.7643, allocations: 49.72 kB / 0.8817 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.7643, allocations: 29.28 kB / 0.8817 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.7651, allocations: 369.5 kB / 0.8821 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7651, allocations: 0.5625 kB / 0.8821 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.7652, allocations: 11.84 kB / 0.8821 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.7652, allocations: 14.56 kB / 0.8821 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.7658, allocations: 275.1 kB / 0.8823 GB, free: 16.68 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.7678, allocations: 1.491 MB / 0.8838 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.7683, allocations: 180.6 kB / 0.884 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.7685, allocations: 118.2 kB / 0.8841 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.7695, allocations: 0.5074 MB / 0.8846 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7696, allocations: 33.44 kB / 0.8846 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.7696, allocations: 3.188 kB / 0.8846 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009787/0.7706, allocations: 359.8 kB / 0.885 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.7706, allocations: 56.8 kB / 0.885 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.7709, allocations: 315.5 kB / 0.8853 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.7709, allocations: 30.61 kB / 0.8853 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.7711, allocations: 184 kB / 0.8855 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.7711, allocations: 54.33 kB / 0.8856 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.7712, allocations: 42.92 kB / 0.8856 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7713, allocations: 347.3 kB / 0.8859 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.7715, allocations: 86.28 kB / 0.886 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7717, allocations: 149.3 kB / 0.8862 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.7721, allocations: 242.8 kB / 0.8864 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7721, allocations: 2.375 kB / 0.8864 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005467/0.7727, allocations: 286 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7727, allocations: 6.75 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7727, allocations: 1.906 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7727, allocations: 3.469 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.7729, allocations: 41.84 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.7729, allocations: 3 kB / 0.8867 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.7731, allocations: 36.27 kB / 0.8868 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.7732, allocations: 13.33 kB / 0.8868 GB, free: 14.26 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001631/0.7733, allocations: 153.2 kB / 0.8869 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.7734, allocations: 35.17 kB / 0.887 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.7741, allocations: 311.1 kB / 0.8873 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.7741, allocations: 2.062 kB / 0.8873 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7741, allocations: 0 / 0.8873 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7741, allocations: 6.922 kB / 0.8873 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.7752, allocations: 0.8015 MB / 0.888 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.7753, allocations: 3.281 kB / 0.8881 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.7754, allocations: 42.2 kB / 0.8881 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7754, allocations: 3.969 kB / 0.8881 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.7754, allocations: 7.625 kB / 0.8881 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7754, allocations: 4.922 kB / 0.8881 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7755, allocations: 9.531 kB / 0.8881 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.776, allocations: 400.7 kB / 0.8885 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.7761, allocations: 140.3 kB / 0.8886 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.7761, allocations: 13.67 kB / 0.8886 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.7764, allocations: 11.17 kB / 0.8887 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.7764, allocations: 20.47 kB / 0.8887 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.7764, allocations: 9.375 kB / 0.8887 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001824/0.7766, allocations: 225.6 kB / 0.8889 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7766, allocations: 0.9375 kB / 0.8889 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005327/0.7772, allocations: 122.9 kB / 0.889 GB, free: 13.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001138/0.7783, allocations: 1.045 MB / 0.89 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.7787, allocations: 220.8 kB / 0.8902 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7787, allocations: 0.7812 kB / 0.8902 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.7789, allocations: 115.8 kB / 0.8904 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.7797, allocations: 164 kB / 0.8905 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.7832, allocations: 3.051 MB / 0.8935 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.7836, allocations: 0.7902 MB / 0.8943 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.7838, allocations: 80.81 kB / 0.8943 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.784, allocations: 109.8 kB / 0.8944 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of SimCode: time 3.7e-07/0.784, allocations: 0.875 kB / 0.8944 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.8101, allocations: 10.55 MB / 0.9048 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.482, allocations: 13.47 kB / 0.9048 GB, free: 9.449 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.239226378966123] Failed to read output from testmodel.py, exit status != 0: 9.866255689994432 9.628837729 8.864100068 Calling exit ...