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.001191/0.001191, allocations: 106.6 kB / 16.41 MB, free: 6.488 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.001285/0.001285, allocations: 191 kB / 17.34 MB, free: 5.762 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7495/0.7495, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 67.27 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4932/0.6325, allocations: 167.4 MB / 0.8287 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.6352, allocations: 1.549 MB / 0.8303 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.6354, allocations: 15.69 kB / 0.8303 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.6358, allocations: 146 kB / 0.8304 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.6374, allocations: 0.7023 MB / 0.8311 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.6387, allocations: 0.5963 MB / 0.8317 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.6394, allocations: 0.7028 MB / 0.8324 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003251/0.6397, allocations: 240.5 kB / 0.8326 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.6402, allocations: 332.8 kB / 0.8329 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.6405, allocations: 221.2 kB / 0.8331 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.6405, allocations: 20.53 kB / 0.8331 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.6417, allocations: 0.8799 MB / 0.834 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6419, allocations: 104.4 kB / 0.8341 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.642, allocations: 168 kB / 0.8343 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.6429, allocations: 0.7233 MB / 0.835 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6429, allocations: 0 / 0.835 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6429, allocations: 0 / 0.835 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.6429, allocations: 0 / 0.835 GB, free: 11.63 MB / 0.6075 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.0008065/0.6437, allocations: 0.6452 MB / 0.8356 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6438, allocations: 19.44 kB / 0.8356 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6448, allocations: 148.1 kB / 0.8358 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.6453, allocations: 325 kB / 0.8361 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.6453, allocations: 18.44 kB / 0.8361 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.6454, allocations: 22.88 kB / 0.8361 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.6458, allocations: 274.6 kB / 0.8364 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6458, allocations: 0 / 0.8364 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.6458, allocations: 14.2 kB / 0.8364 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6458, allocations: 9.094 kB / 0.8364 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.6462, allocations: 193.2 kB / 0.8366 GB, free: 10.37 MB / 0.6075 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.001207/0.6474, allocations: 1.207 MB / 0.8378 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.6477, allocations: 144.2 kB / 0.8379 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.6478, allocations: 86.22 kB / 0.838 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.6484, allocations: 312.1 kB / 0.8383 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6484, allocations: 42.5 kB / 0.8383 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.6484, allocations: 3.984 kB / 0.8383 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006778/0.6491, allocations: 285.9 kB / 0.8386 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.6491, allocations: 51.41 kB / 0.8386 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.6494, allocations: 314.6 kB / 0.8389 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6494, allocations: 29.7 kB / 0.839 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6496, allocations: 179.2 kB / 0.8391 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.6496, allocations: 55.17 kB / 0.8392 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.6497, allocations: 46.67 kB / 0.8392 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6498, allocations: 342.6 kB / 0.8396 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6499, allocations: 60.64 kB / 0.8396 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6501, allocations: 125.4 kB / 0.8397 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.6504, allocations: 190.9 kB / 0.8399 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6505, allocations: 2.656 kB / 0.8399 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003878/0.6508, allocations: 241.9 kB / 0.8402 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6509, allocations: 5.25 kB / 0.8402 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.6509, allocations: 0 / 0.8402 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6509, allocations: 2.438 kB / 0.8402 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.6511, allocations: 44.72 kB / 0.8402 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.6511, allocations: 2.688 kB / 0.8402 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6513, allocations: 33.05 kB / 0.8402 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.6513, allocations: 7.844 kB / 0.8402 GB, free: 7.312 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.0001254/0.6514, allocations: 155.9 kB / 0.8404 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.6515, allocations: 26.22 kB / 0.8404 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.6519, allocations: 222.1 kB / 0.8406 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6519, allocations: 2.938 kB / 0.8406 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6519, allocations: 0 / 0.8406 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6519, allocations: 0 / 0.8406 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.6528, allocations: 0.6815 MB / 0.8413 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6528, allocations: 6.562 kB / 0.8413 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.653, allocations: 34.77 kB / 0.8413 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.653, allocations: 8.344 kB / 0.8413 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.653, allocations: 2.938 kB / 0.8414 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.653, allocations: 6.656 kB / 0.8414 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.653, allocations: 2.156 kB / 0.8414 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.6536, allocations: 434.8 kB / 0.8418 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.6537, allocations: 127.7 kB / 0.8419 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.6537, allocations: 15.02 kB / 0.8419 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.6539, allocations: 5.688 kB / 0.8419 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.6539, allocations: 15.33 kB / 0.8419 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.6539, allocations: 4.844 kB / 0.8419 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001814/0.6541, allocations: 226.3 kB / 0.8422 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 2.531 kB / 0.8422 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003288/0.6545, allocations: 73.88 kB / 0.8422 GB, free: 5.793 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.0003102/0.6548, allocations: 173.7 kB / 0.8424 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.6552, allocations: 185 kB / 0.8426 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6552, allocations: 4.188 kB / 0.8426 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6553, allocations: 83.58 kB / 0.8426 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.6561, allocations: 162.6 kB / 0.8428 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.6569, allocations: 0.6241 MB / 0.8434 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6572, allocations: 0.7786 MB / 0.8442 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.6573, allocations: 26.97 kB / 0.8442 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.6573, allocations: 0 / 0.8442 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.006252/0.6636, allocations: 4.887 MB / 0.849 GB, free: 1.727 MB / 0.6075 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)