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.001603/0.001603, allocations: 106.7 kB / 16.41 MB, free: 6.469 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.001796/0.001796, allocations: 187 kB / 17.34 MB, free: 5.711 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8685/0.8685, allocations: 135.2 MB / 426.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.62 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1608, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6245/0.7853, allocations: 167.8 MB / 0.8293 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.7884, allocations: 1.545 MB / 0.8308 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.7888, allocations: 11.56 kB / 0.8308 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.7894, allocations: 152.3 kB / 0.8309 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.7913, allocations: 0.7376 MB / 0.8316 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.793, allocations: 0.5999 MB / 0.8322 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.7939, allocations: 0.7083 MB / 0.8329 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.7942, allocations: 197.1 kB / 0.8331 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.7949, allocations: 342.1 kB / 0.8334 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.7951, allocations: 225.8 kB / 0.8336 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.7952, allocations: 22.97 kB / 0.8337 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.7968, allocations: 0.8709 MB / 0.8345 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.7969, allocations: 112.2 kB / 0.8346 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.7971, allocations: 170.8 kB / 0.8348 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.7982, allocations: 0.7224 MB / 0.8355 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7982, allocations: 2.25 kB / 0.8355 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7982, allocations: 0 / 0.8355 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7982, allocations: 0 / 0.8355 GB, free: 11.18 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.001027/0.7992, allocations: 0.6637 MB / 0.8361 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7993, allocations: 8.797 kB / 0.8362 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.8004, allocations: 157 kB / 0.8363 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.801, allocations: 321.9 kB / 0.8366 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.801, allocations: 19.47 kB / 0.8366 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.8011, allocations: 27.38 kB / 0.8367 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.8016, allocations: 283 kB / 0.8369 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8016, allocations: 0 / 0.8369 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.8016, allocations: 6.844 kB / 0.8369 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.8016, allocations: 4.906 kB / 0.8369 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.802, allocations: 198.6 kB / 0.8371 GB, free: 9.902 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.001548/0.8036, allocations: 1.215 MB / 0.8383 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.8039, allocations: 131.6 kB / 0.8384 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.8041, allocations: 91.58 kB / 0.8385 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.8047, allocations: 302.5 kB / 0.8388 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.8047, allocations: 38.78 kB / 0.8389 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.8047, allocations: 0 / 0.8389 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000799/0.8055, allocations: 285.5 kB / 0.8391 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.8056, allocations: 53.94 kB / 0.8392 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.8059, allocations: 313.5 kB / 0.8395 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.8059, allocations: 29.7 kB / 0.8395 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.8061, allocations: 183.7 kB / 0.8397 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.8061, allocations: 50.41 kB / 0.8397 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.8062, allocations: 44.05 kB / 0.8398 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.8064, allocations: 342.5 kB / 0.8401 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.8065, allocations: 71.31 kB / 0.8402 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.8068, allocations: 127.4 kB / 0.8403 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.8071, allocations: 191.4 kB / 0.8405 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8071, allocations: 0 / 0.8405 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004704/0.8076, allocations: 240 kB / 0.8407 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8076, allocations: 11.84 kB / 0.8407 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8076, allocations: 0 / 0.8407 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.8076, allocations: 6.516 kB / 0.8407 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.8078, allocations: 45.08 kB / 0.8408 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8078, allocations: 2.594 kB / 0.8408 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.8081, allocations: 33.55 kB / 0.8408 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.8081, allocations: 7.875 kB / 0.8408 GB, free: 6.836 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.0001676/0.8083, allocations: 155.6 kB / 0.8409 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.8083, allocations: 32.23 kB / 0.841 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.8088, allocations: 217.1 kB / 0.8412 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.8088, allocations: 6.422 kB / 0.8412 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8088, allocations: 0 / 0.8412 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8088, allocations: 0 / 0.8412 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.8099, allocations: 0.6883 MB / 0.8419 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8099, allocations: 3.938 kB / 0.8419 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.8101, allocations: 33.77 kB / 0.8419 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8101, allocations: 6.375 kB / 0.8419 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.8101, allocations: 10.53 kB / 0.8419 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.8101, allocations: 5.953 kB / 0.8419 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8101, allocations: 6.656 kB / 0.8419 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.8108, allocations: 421.2 kB / 0.8423 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.8109, allocations: 130.5 kB / 0.8425 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.8109, allocations: 5.375 kB / 0.8425 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.8111, allocations: 16.55 kB / 0.8425 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.8112, allocations: 13.8 kB / 0.8425 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.8112, allocations: 8.938 kB / 0.8425 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002206/0.8114, allocations: 227 kB / 0.8427 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.8114, allocations: 0 / 0.8427 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004054/0.8118, allocations: 77.86 kB / 0.8428 GB, free: 5.305 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.0004692/0.8123, allocations: 173.9 kB / 0.843 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.8127, allocations: 171.4 kB / 0.8431 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8127, allocations: 2.188 kB / 0.8431 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.8129, allocations: 82.3 kB / 0.8432 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.8138, allocations: 164.4 kB / 0.8434 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8149, allocations: 0.637 MB / 0.844 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.8154, allocations: 0.779 MB / 0.8447 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.8154, allocations: 25.28 kB / 0.8448 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.8154, allocations: 2.562 kB / 0.8448 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.008477/0.8239, allocations: 4.866 MB / 0.8495 GB, free: 1.234 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)