Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 105.2 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7972/0.7972, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3406, allocations: 80.92 MB / 0.5851 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1831/0.5237, allocations: 167.3 MB / 0.7485 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.5266, allocations: 1.555 MB / 0.75 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.5269, allocations: 11.94 kB / 0.75 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.5275, allocations: 146.8 kB / 0.7501 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.5292, allocations: 0.7039 MB / 0.7508 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3028/0.832, allocations: 0.5933 MB / 0.7514 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.833, allocations: 0.7001 MB / 0.7521 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.8334, allocations: 235 kB / 0.7523 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.834, allocations: 339.1 kB / 0.7526 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.8342, allocations: 220.7 kB / 0.7529 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.8343, allocations: 22.38 kB / 0.7529 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.8355, allocations: 0.8648 MB / 0.7537 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.8356, allocations: 106.5 kB / 0.7538 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.8358, allocations: 163.4 kB / 0.754 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.8366, allocations: 0.7185 MB / 0.7547 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8366, allocations: 6.594 kB / 0.7547 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8366, allocations: 0 / 0.7547 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8366, allocations: 0.5938 kB / 0.7547 GB, free: 2.25 MB / 0.5762 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.0009112/0.8375, allocations: 0.6514 MB / 0.7553 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.8376, allocations: 12.3 kB / 0.7553 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.8386, allocations: 152.8 kB / 0.7555 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.839, allocations: 311.5 kB / 0.7558 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.839, allocations: 14.06 kB / 0.7558 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.8391, allocations: 25.69 kB / 0.7558 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.8395, allocations: 276.3 kB / 0.7561 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8395, allocations: 0.9375 kB / 0.7561 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.8395, allocations: 9.219 kB / 0.7561 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.8395, allocations: 7.25 kB / 0.7561 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.8399, allocations: 201.1 kB / 0.7563 GB, free: 17.44 MB / 0.5919 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.001211/0.8411, allocations: 1.208 MB / 0.7575 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.8414, allocations: 140.7 kB / 0.7576 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.8415, allocations: 95.09 kB / 0.7577 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.8422, allocations: 304.6 kB / 0.758 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8422, allocations: 31.77 kB / 0.758 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.8422, allocations: 0.8438 kB / 0.758 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000693/0.8429, allocations: 281 kB / 0.7583 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.843, allocations: 56.88 kB / 0.7583 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.8433, allocations: 313 kB / 0.7586 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.8434, allocations: 30.08 kB / 0.7587 GB, free: 16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.8435, allocations: 182.3 kB / 0.7588 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.8436, allocations: 52.86 kB / 0.7589 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.8436, allocations: 48.75 kB / 0.7589 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8438, allocations: 338.6 kB / 0.7593 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.844, allocations: 73.12 kB / 0.7593 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.8442, allocations: 122.8 kB / 0.7594 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.8445, allocations: 189.5 kB / 0.7596 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8445, allocations: 0.7812 kB / 0.7596 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004506/0.845, allocations: 231 kB / 0.7598 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.845, allocations: 7.562 kB / 0.7599 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.845, allocations: 6.672 kB / 0.7599 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.845, allocations: 2.25 kB / 0.7599 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.8452, allocations: 44.03 kB / 0.7599 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8452, allocations: 4.719 kB / 0.7599 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.8454, allocations: 36.12 kB / 0.7599 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.8455, allocations: 8.469 kB / 0.7599 GB, free: 15.37 MB / 0.5919 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.0001373/0.8456, allocations: 150.5 kB / 0.7601 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.8457, allocations: 32.78 kB / 0.7601 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.8461, allocations: 218.7 kB / 0.7603 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8461, allocations: 1.031 kB / 0.7603 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8461, allocations: 0.5938 kB / 0.7603 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8461, allocations: 7.234 kB / 0.7603 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.8472, allocations: 0.6879 MB / 0.761 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8472, allocations: 2.625 kB / 0.761 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.8473, allocations: 34.39 kB / 0.761 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8474, allocations: 2.844 kB / 0.7611 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.8474, allocations: 8.641 kB / 0.7611 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.8474, allocations: 3.219 kB / 0.7611 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8474, allocations: 6.25 kB / 0.7611 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.8481, allocations: 430.9 kB / 0.7615 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.8482, allocations: 126.6 kB / 0.7616 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.8483, allocations: 8.172 kB / 0.7616 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.8484, allocations: 8.141 kB / 0.7616 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.8485, allocations: 16.61 kB / 0.7616 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.8485, allocations: 6.266 kB / 0.7616 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002419/0.8488, allocations: 230 kB / 0.7619 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8488, allocations: 4.25 kB / 0.7619 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003939/0.8492, allocations: 81.91 kB / 0.7619 GB, free: 14.42 MB / 0.5919 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.000383/0.8495, allocations: 161.2 kB / 0.7621 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.85, allocations: 182.6 kB / 0.7623 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.85, allocations: 1.906 kB / 0.7623 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.8502, allocations: 85.66 kB / 0.7624 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/0.8511, allocations: 171.8 kB / 0.7625 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.8521, allocations: 0.6316 MB / 0.7631 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.8526, allocations: 0.7801 MB / 0.7639 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.8527, allocations: 25.94 kB / 0.7639 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.8527, allocations: 0.9688 kB / 0.7639 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of Templates: time 0.007176/0.8599, allocations: 4.811 MB / 0.7686 GB, free: 13.07 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)