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) 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/package.mo", uses=false) 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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009108/0.009108, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001976/0.001976, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.64 kB / 0.5814 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 80.22 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6508/0.8275, allocations: 167.4 MB / 0.8231 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.8304, allocations: 1.548 MB / 0.8246 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.8308, allocations: 11.75 kB / 0.8246 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.8313, allocations: 147.9 kB / 0.8248 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.8332, allocations: 0.7383 MB / 0.8255 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.8347, allocations: 0.6003 MB / 0.8261 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.8355, allocations: 0.7017 MB / 0.8268 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.8358, allocations: 236.6 kB / 0.827 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005515/0.8364, allocations: 351.5 kB / 0.8273 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.8366, allocations: 212.6 kB / 0.8275 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.8367, allocations: 23.06 kB / 0.8276 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.8381, allocations: 0.879 MB / 0.8284 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.8382, allocations: 109.1 kB / 0.8285 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.8384, allocations: 161.7 kB / 0.8287 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.8394, allocations: 0.7285 MB / 0.8294 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8394, allocations: 0 / 0.8294 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8394, allocations: 0 / 0.8294 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.8395, allocations: 0 / 0.8294 GB, free: 1.273 MB / 0.5919 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.0009642/0.8404, allocations: 0.6505 MB / 0.83 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.8405, allocations: 7.375 kB / 0.83 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.8416, allocations: 154.3 kB / 0.8302 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.8421, allocations: 324.6 kB / 0.8305 GB, free: 324 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.8421, allocations: 14.94 kB / 0.8305 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.8422, allocations: 27.2 kB / 0.8305 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.8427, allocations: 281.8 kB / 0.8308 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.8427, allocations: 0 / 0.8308 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.8427, allocations: 11.19 kB / 0.8308 GB, free: 104 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8427, allocations: 8.938 kB / 0.8308 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.8431, allocations: 194.4 kB / 0.831 GB, free: 12 kB / 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.001345/0.8445, allocations: 1.204 MB / 0.8322 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.8447, allocations: 148.9 kB / 0.8323 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.8449, allocations: 97.36 kB / 0.8324 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.8455, allocations: 300.7 kB / 0.8327 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8455, allocations: 38.56 kB / 0.8327 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.8455, allocations: 0 / 0.8327 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007207/0.8463, allocations: 281.1 kB / 0.833 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8463, allocations: 57.94 kB / 0.8331 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.8466, allocations: 316.2 kB / 0.8334 GB, free: 14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.8467, allocations: 32.23 kB / 0.8334 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.8468, allocations: 179.4 kB / 0.8336 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.8468, allocations: 50.8 kB / 0.8336 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.8469, allocations: 51.14 kB / 0.8337 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8471, allocations: 335.7 kB / 0.834 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8472, allocations: 63.23 kB / 0.834 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.8474, allocations: 130.7 kB / 0.8342 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.8478, allocations: 187.3 kB / 0.8343 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8478, allocations: 0 / 0.8343 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004337/0.8482, allocations: 230.8 kB / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8483, allocations: 4.875 kB / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8483, allocations: 1.812 kB / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.8483, allocations: 2.875 kB / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.8485, allocations: 48.28 kB / 0.8346 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8485, allocations: 7 kB / 0.8346 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.8487, allocations: 33.8 kB / 0.8347 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8487, allocations: 7.781 kB / 0.8347 GB, free: 12.97 MB / 0.6075 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.0001516/0.8489, allocations: 151.1 kB / 0.8348 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.8489, allocations: 28.47 kB / 0.8348 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.8494, allocations: 224.3 kB / 0.8351 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8494, allocations: 6.688 kB / 0.8351 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8494, allocations: 0 / 0.8351 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.8494, allocations: 3.984 kB / 0.8351 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.8505, allocations: 0.6774 MB / 0.8357 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8505, allocations: 6.75 kB / 0.8357 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.8507, allocations: 34.77 kB / 0.8358 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8507, allocations: 6.25 kB / 0.8358 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.8507, allocations: 3.75 kB / 0.8358 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8507, allocations: 4.688 kB / 0.8358 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8507, allocations: 2.781 kB / 0.8358 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.8513, allocations: 439.3 kB / 0.8362 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.8515, allocations: 129.6 kB / 0.8363 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.8515, allocations: 4.719 kB / 0.8363 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.8517, allocations: 16.62 kB / 0.8363 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8517, allocations: 15.55 kB / 0.8364 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.8518, allocations: 5.844 kB / 0.8364 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002097/0.852, allocations: 226.5 kB / 0.8366 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.852, allocations: 0 / 0.8366 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003966/0.8524, allocations: 77.64 kB / 0.8367 GB, free: 11.43 MB / 0.6075 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.0003699/0.8528, allocations: 166.6 kB / 0.8368 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.8532, allocations: 182.6 kB / 0.837 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8532, allocations: 2.719 kB / 0.837 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.8534, allocations: 85.28 kB / 0.8371 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.8541, allocations: 168.4 kB / 0.8372 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.8551, allocations: 0.6042 MB / 0.8378 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.8554, allocations: 0.7702 MB / 0.8386 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.8556, allocations: 66.2 kB / 0.8386 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.8556, allocations: 25 kB / 0.8387 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.8556, allocations: 0 / 0.8387 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of Templates: time 0.01035/0.866, allocations: 5.758 MB / 0.8443 GB, free: 7.062 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)