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.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.001783/0.001783, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.002174/0.002174, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 9 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.8429/0.8429, allocations: 134 MB / 442.8 MB, free: 11.33 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.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: 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.001836/0.001836, allocations: 70.03 kB / 0.6134 GB, free: 8.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1756, allocations: 85.85 MB / 0.6973 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6093/0.7849, allocations: 170.8 MB / 0.8641 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.7883, allocations: 1.556 MB / 0.8656 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.7888, allocations: 15.88 kB / 0.8656 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.7893, allocations: 154.8 kB / 0.8657 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.7913, allocations: 0.7352 MB / 0.8665 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.793, allocations: 0.6006 MB / 0.867 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009147/0.7939, allocations: 0.709 MB / 0.8677 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.7943, allocations: 203 kB / 0.8679 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.7949, allocations: 354.8 kB / 0.8683 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.7953, allocations: 239 kB / 0.8685 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.7953, allocations: 20 kB / 0.8685 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.797, allocations: 0.9273 MB / 0.8694 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.7971, allocations: 111.6 kB / 0.8695 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.7973, allocations: 159.3 kB / 0.8697 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.7984, allocations: 0.7339 MB / 0.8704 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7984, allocations: 0 / 0.8704 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7984, allocations: 0 / 0.8704 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7984, allocations: 4 kB / 0.8704 GB, free: 7.199 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001076/0.7995, allocations: 0.6615 MB / 0.871 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7996, allocations: 9.109 kB / 0.8711 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.113e-05/0.7996, allocations: 58.55 kB / 0.8711 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.8007, allocations: 151.6 kB / 0.8713 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.8014, allocations: 333.8 kB / 0.8716 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.8014, allocations: 16.44 kB / 0.8716 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.8015, allocations: 23.94 kB / 0.8716 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.8021, allocations: 279.5 kB / 0.8719 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8021, allocations: 0 / 0.8719 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.8021, allocations: 12 kB / 0.8719 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.8021, allocations: 4 kB / 0.8719 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.8026, allocations: 199.8 kB / 0.8721 GB, free: 5.352 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.001568/0.8041, allocations: 1.202 MB / 0.8733 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.8044, allocations: 138.4 kB / 0.8734 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.8046, allocations: 80.8 kB / 0.8735 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.8052, allocations: 307.2 kB / 0.8738 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.8053, allocations: 41 kB / 0.8738 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.8053, allocations: 0 / 0.8738 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0009303/0.8062, allocations: 280.4 kB / 0.8741 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.8062, allocations: 59.41 kB / 0.8741 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.8067, allocations: 316.5 kB / 0.8744 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.8067, allocations: 33.64 kB / 0.8745 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.8069, allocations: 180.3 kB / 0.8746 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.807, allocations: 59.53 kB / 0.8747 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.8071, allocations: 37.72 kB / 0.8747 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.8073, allocations: 342.8 kB / 0.8751 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.8075, allocations: 71.89 kB / 0.8751 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.8078, allocations: 121.1 kB / 0.8752 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.8083, allocations: 192.9 kB / 0.8754 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8083, allocations: 0 / 0.8754 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004926/0.8087, allocations: 240.3 kB / 0.8756 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.8088, allocations: 6.188 kB / 0.8757 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8088, allocations: 4 kB / 0.8757 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8088, allocations: 8.031 kB / 0.8757 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.809, allocations: 35.98 kB / 0.8757 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.809, allocations: 4 kB / 0.8757 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.8092, allocations: 39.7 kB / 0.8757 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.8092, allocations: 11.92 kB / 0.8758 GB, free: 1.332 MB / 0.6387 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.0001704/0.8094, allocations: 145.8 kB / 0.8759 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.8094, allocations: 27.81 kB / 0.8759 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.81, allocations: 232.2 kB / 0.8761 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.81, allocations: 0 / 0.8761 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.81, allocations: 0 / 0.8761 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.81, allocations: 0 / 0.8761 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.8113, allocations: 0.6874 MB / 0.8768 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8113, allocations: 3.938 kB / 0.8768 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.8114, allocations: 39.91 kB / 0.8769 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8114, allocations: 4 kB / 0.8769 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.8115, allocations: 4 kB / 0.8769 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8115, allocations: 4.219 kB / 0.8769 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8115, allocations: 4 kB / 0.8769 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.8123, allocations: 435.4 kB / 0.8773 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.8124, allocations: 120.8 kB / 0.8774 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.8125, allocations: 8 kB / 0.8774 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.8126, allocations: 7.984 kB / 0.8774 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.8127, allocations: 20.05 kB / 0.8774 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.8127, allocations: 7.938 kB / 0.8774 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002561/0.813, allocations: 227 kB / 0.8777 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.813, allocations: 0 / 0.8777 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003949/0.8134, allocations: 75.94 kB / 0.8777 GB, free: 15.16 MB / 0.6544 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.001303/0.8147, allocations: 1.023 MB / 0.8787 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.8151, allocations: 167.8 kB / 0.8789 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8151, allocations: 7.938 kB / 0.8789 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.8153, allocations: 80.45 kB / 0.879 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008853/0.8162, allocations: 174.7 kB / 0.8791 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.8203, allocations: 2.903 MB / 0.882 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.8207, allocations: 0.7795 MB / 0.8827 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.8209, allocations: 66.92 kB / 0.8828 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.8211, allocations: 87.41 kB / 0.8829 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.8211, allocations: 4 kB / 0.8829 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.8579, allocations: 8.807 MB / 0.8915 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.015, allocations: 3.938 kB / 0.8915 GB, free: 1.059 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.787987322997651] Failed to read output from testmodel.py, exit status != 0: 9.0898675310018 9.11467248 8.311827726 Calling exit ...