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.001334/0.001334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001577/0.001577, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.789 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.819/0.819, allocations: 134 MB / 446.4 MB, free: 9.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",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.002006/0.002006, allocations: 67.78 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 85.9 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5393/0.7024, allocations: 149.5 MB / 0.8484 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.7124, allocations: 6.543 MB / 0.8548 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.713, allocations: 23.81 kB / 0.8548 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.7137, allocations: 178.7 kB / 0.855 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.7175, allocations: 1.299 MB / 0.8562 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.7194, allocations: 0.6549 MB / 0.8569 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.7206, allocations: 0.768 MB / 0.8576 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.7212, allocations: 238.9 kB / 0.8579 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.7227, allocations: 0.5837 MB / 0.8584 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.7238, allocations: 454.4 kB / 0.8589 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.7239, allocations: 24 kB / 0.8589 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.7264, allocations: 1.052 MB / 0.8599 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.7266, allocations: 119.6 kB / 0.86 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.7268, allocations: 143.4 kB / 0.8602 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.7291, allocations: 0.8783 MB / 0.861 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7291, allocations: 4 kB / 0.861 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7291, allocations: 0 / 0.861 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.7291, allocations: 4 kB / 0.861 GB, free: 0.7383 MB / 0.6231 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.001662/0.7308, allocations: 0.629 MB / 0.8616 GB, free: 80 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7308, allocations: 15.97 kB / 0.8617 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.731, allocations: 62.61 kB / 0.8617 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.7321, allocations: 139.4 kB / 0.8619 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.7327, allocations: 263.7 kB / 0.8621 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.7329, allocations: 76.06 kB / 0.8622 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.7329, allocations: 28 kB / 0.8622 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.7336, allocations: 396.9 kB / 0.8626 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.7336, allocations: 4 kB / 0.8626 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.7337, allocations: 8 kB / 0.8626 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.7337, allocations: 11.94 kB / 0.8626 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.7342, allocations: 269.8 kB / 0.8629 GB, free: 14.76 MB / 0.6387 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.001955/0.7362, allocations: 1.152 MB / 0.864 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.7366, allocations: 186.6 kB / 0.8642 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.7368, allocations: 108.8 kB / 0.8643 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.7376, allocations: 135.8 kB / 0.8644 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.7376, allocations: 34.56 kB / 0.8644 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.7376, allocations: 0 / 0.8644 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.00101/0.7387, allocations: 362.2 kB / 0.8648 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.7387, allocations: 55.41 kB / 0.8648 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.7391, allocations: 312.5 kB / 0.8651 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.7391, allocations: 29.7 kB / 0.8652 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.7392, allocations: 188.3 kB / 0.8653 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.7393, allocations: 51.55 kB / 0.8654 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7394, allocations: 45.7 kB / 0.8654 GB, free: 12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7396, allocations: 346.7 kB / 0.8658 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.7398, allocations: 83.94 kB / 0.8658 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.7401, allocations: 230.9 kB / 0.8661 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.7406, allocations: 237.1 kB / 0.8663 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7406, allocations: 4 kB / 0.8663 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006/0.7412, allocations: 281.2 kB / 0.8666 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7412, allocations: 8 kB / 0.8666 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7412, allocations: 3.984 kB / 0.8666 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7412, allocations: 4 kB / 0.8666 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.7414, allocations: 44.17 kB / 0.8666 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7414, allocations: 3.938 kB / 0.8666 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.7416, allocations: 31.77 kB / 0.8666 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7417, allocations: 12 kB / 0.8667 GB, free: 10.67 MB / 0.6387 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.0001768/0.7419, allocations: 153.8 kB / 0.8668 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.742, allocations: 31.81 kB / 0.8668 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.7427, allocations: 314.7 kB / 0.8671 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7427, allocations: 8 kB / 0.8671 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7427, allocations: 0 / 0.8671 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7427, allocations: 0 / 0.8671 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.7441, allocations: 0.7489 MB / 0.8679 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7441, allocations: 4.219 kB / 0.8679 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.7443, allocations: 39.91 kB / 0.8679 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7443, allocations: 8.031 kB / 0.8679 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.7443, allocations: 11.94 kB / 0.8679 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7443, allocations: 3.938 kB / 0.8679 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7443, allocations: 4 kB / 0.8679 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.745, allocations: 397.1 kB / 0.8683 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.7451, allocations: 63.7 kB / 0.8684 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.7452, allocations: 12 kB / 0.8684 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.7454, allocations: 14.73 kB / 0.8684 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.7454, allocations: 15.98 kB / 0.8684 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.7455, allocations: 11.98 kB / 0.8684 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002408/0.7457, allocations: 227 kB / 0.8687 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7457, allocations: 0 / 0.8687 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005151/0.7462, allocations: 127.7 kB / 0.8688 GB, free: 8.395 MB / 0.6387 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.001365/0.7476, allocations: 1.046 MB / 0.8698 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.7481, allocations: 211.7 kB / 0.87 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7481, allocations: 0 / 0.87 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.7484, allocations: 112.6 kB / 0.8701 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.7493, allocations: 173.7 kB / 0.8703 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.7536, allocations: 3.057 MB / 0.8733 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.7538, allocations: 185.1 kB / 0.8734 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002713/0.754, allocations: 78.88 kB / 0.8735 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.7542, allocations: 99.39 kB / 0.8736 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7542, allocations: 0 / 0.8736 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.8076, allocations: 11.71 MB / 0.885 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/12.11, allocations: 4.062 kB / 0.885 GB, free: 7.816 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.572351028677076] Failed to read output from testmodel.py, exit status != 0: 12.213943797629327 12.229467095 11.497236999 Calling exit ...