Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.7992/0.7992, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 68.42 kB / 0.6051 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1592, allocations: 84.67 MB / 0.6878 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6004/0.7596, allocations: 167.9 MB / 0.8518 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.7627, allocations: 1.547 MB / 0.8533 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005326/0.7633, allocations: 15.59 kB / 0.8533 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.7639, allocations: 148.4 kB / 0.8535 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.7659, allocations: 0.737 MB / 0.8542 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.7675, allocations: 0.6053 MB / 0.8548 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.7684, allocations: 0.7067 MB / 0.8555 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.7688, allocations: 197 kB / 0.8556 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.7694, allocations: 342.3 kB / 0.856 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.7697, allocations: 241 kB / 0.8562 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.7697, allocations: 26.5 kB / 0.8562 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.7713, allocations: 0.9244 MB / 0.8571 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.7714, allocations: 104.6 kB / 0.8572 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.7716, allocations: 167 kB / 0.8574 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.7727, allocations: 0.7346 MB / 0.8581 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7727, allocations: 0 / 0.8581 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7727, allocations: 0 / 0.8581 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7727, allocations: 0 / 0.8581 GB, free: 14.77 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001046/0.7738, allocations: 0.6555 MB / 0.8587 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.7738, allocations: 18.11 kB / 0.8588 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.458e-05/0.7739, allocations: 53.92 kB / 0.8588 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.775, allocations: 165 kB / 0.859 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.7756, allocations: 325.3 kB / 0.8593 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.7757, allocations: 12.44 kB / 0.8593 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.7757, allocations: 27.06 kB / 0.8593 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.7762, allocations: 275.5 kB / 0.8596 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.7762, allocations: 0 / 0.8596 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.7762, allocations: 10.75 kB / 0.8596 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.7763, allocations: 7.406 kB / 0.8596 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.7767, allocations: 193 kB / 0.8598 GB, free: 13.44 MB / 0.6231 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.001557/0.7782, allocations: 1.207 MB / 0.861 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.7785, allocations: 143.5 kB / 0.8611 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.7787, allocations: 88.89 kB / 0.8612 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.7793, allocations: 298.7 kB / 0.8615 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.7793, allocations: 36.44 kB / 0.8615 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.7793, allocations: 4 kB / 0.8615 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.00074/0.7801, allocations: 277.7 kB / 0.8618 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.7801, allocations: 57.81 kB / 0.8618 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.7804, allocations: 315.1 kB / 0.8621 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.7805, allocations: 29.7 kB / 0.8622 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.7806, allocations: 189.6 kB / 0.8623 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.7807, allocations: 51.45 kB / 0.8624 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.7807, allocations: 48.81 kB / 0.8624 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7809, allocations: 338.7 kB / 0.8628 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7811, allocations: 67.27 kB / 0.8628 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.7813, allocations: 127.3 kB / 0.8629 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.7816, allocations: 183.8 kB / 0.8631 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7816, allocations: 0 / 0.8631 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004467/0.7821, allocations: 241.5 kB / 0.8633 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7821, allocations: 7.375 kB / 0.8633 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7821, allocations: 0 / 0.8633 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7821, allocations: 4.438 kB / 0.8634 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.7823, allocations: 50.75 kB / 0.8634 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.7823, allocations: 2.375 kB / 0.8634 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.7825, allocations: 42.27 kB / 0.8634 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.7825, allocations: 11.5 kB / 0.8635 GB, free: 10.38 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001518/0.7827, allocations: 147.5 kB / 0.8636 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.7827, allocations: 30.78 kB / 0.8636 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.7832, allocations: 228.9 kB / 0.8638 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7832, allocations: 0 / 0.8638 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7832, allocations: 2.625 kB / 0.8638 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7832, allocations: 7.984 kB / 0.8639 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7843, allocations: 0.6758 MB / 0.8645 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.7843, allocations: 7.938 kB / 0.8645 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.7845, allocations: 35.92 kB / 0.8646 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7845, allocations: 4 kB / 0.8646 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.7845, allocations: 3.938 kB / 0.8646 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.7845, allocations: 4 kB / 0.8646 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7845, allocations: 7.984 kB / 0.8646 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.7852, allocations: 429.2 kB / 0.865 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.7854, allocations: 128.9 kB / 0.8651 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.7854, allocations: 4 kB / 0.8651 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7856, allocations: 11.98 kB / 0.8651 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.7857, allocations: 15.98 kB / 0.8651 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.7857, allocations: 4 kB / 0.8651 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002499/0.7859, allocations: 223.1 kB / 0.8654 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7859, allocations: 0 / 0.8654 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004117/0.7863, allocations: 87.94 kB / 0.8654 GB, free: 8.41 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0014/0.7877, allocations: 1.027 MB / 0.8664 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.7882, allocations: 167.8 kB / 0.8666 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.7882, allocations: 4 kB / 0.8666 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.7884, allocations: 83.83 kB / 0.8667 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.7892, allocations: 167.7 kB / 0.8668 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.7932, allocations: 2.919 MB / 0.8697 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.7938, allocations: 0.7795 MB / 0.8705 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.794, allocations: 64.48 kB / 0.8705 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.7941, allocations: 87.41 kB / 0.8706 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.7941, allocations: 0 / 0.8706 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.8299, allocations: 8.864 MB / 0.8793 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/9.046, allocations: 18.58 kB / 0.8793 GB, free: 10.25 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.474086937028915] Failed to read output from testmodel.py, exit status != 0: 9.11771752499044 9.140835517 8.363888612 Calling exit ...