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.001899/0.0019, allocations: 116.4 kB / 16.37 MB, free: 6 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.002151/0.002151, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.379/1.379, 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/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4341, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1905/0.6247, allocations: 167.4 MB / 0.7449 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.6278, allocations: 1.539 MB / 0.7464 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.6282, allocations: 15.88 kB / 0.7465 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.6288, allocations: 146.9 kB / 0.7466 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.6306, allocations: 0.7156 MB / 0.7473 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.6324, allocations: 0.5912 MB / 0.7479 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009027/0.6333, allocations: 0.7051 MB / 0.7486 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.6337, allocations: 232.9 kB / 0.7488 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.6343, allocations: 330.8 kB / 0.7491 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.6346, allocations: 227 kB / 0.7493 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.6346, allocations: 20 kB / 0.7493 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6362, allocations: 0.8651 MB / 0.7502 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.6363, allocations: 107.6 kB / 0.7503 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.6365, allocations: 167.2 kB / 0.7504 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4179/1.054, allocations: 0.7141 MB / 0.7511 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.054, allocations: 0.6875 kB / 0.7511 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.439e-06/1.054, allocations: 1.406 kB / 0.7511 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.246e-05/1.055, allocations: 1.906 kB / 0.7511 GB, free: 4.191 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.001498/1.056, allocations: 0.6482 MB / 0.7518 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.056, allocations: 9.812 kB / 0.7518 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.057, allocations: 157.1 kB / 0.7519 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/1.058, allocations: 326.2 kB / 0.7522 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.058, allocations: 17.34 kB / 0.7523 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.058, allocations: 24.72 kB / 0.7523 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/1.059, allocations: 276.6 kB / 0.7525 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.059, allocations: 0.9375 kB / 0.7525 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/1.059, allocations: 9.875 kB / 0.7526 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/1.059, allocations: 6.156 kB / 0.7526 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/1.059, allocations: 200 kB / 0.7528 GB, free: 3.449 MB / 0.5762 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.001539/1.061, allocations: 1.211 MB / 0.7539 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/1.061, allocations: 139.4 kB / 0.7541 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.061, allocations: 92.03 kB / 0.7542 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/1.062, allocations: 305.5 kB / 0.7544 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/1.062, allocations: 34.36 kB / 0.7545 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.062, allocations: 0.75 kB / 0.7545 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007225/1.062, allocations: 274.9 kB / 0.7547 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.063, allocations: 55 kB / 0.7548 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/1.063, allocations: 320.2 kB / 0.7551 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.063, allocations: 29.64 kB / 0.7551 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.063, allocations: 181.5 kB / 0.7553 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/1.063, allocations: 56.16 kB / 0.7554 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/1.063, allocations: 43.39 kB / 0.7554 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.063, allocations: 342 kB / 0.7557 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/1.063, allocations: 66.05 kB / 0.7558 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/1.064, allocations: 122.6 kB / 0.7559 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/1.064, allocations: 192.8 kB / 0.7561 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.064, allocations: 3.281 kB / 0.7561 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003987/1.064, allocations: 242.9 kB / 0.7563 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.064, allocations: 8.781 kB / 0.7563 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.064, allocations: 2.688 kB / 0.7563 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.064, allocations: 3.406 kB / 0.7563 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/1.065, allocations: 42.7 kB / 0.7564 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.065, allocations: 5.094 kB / 0.7564 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/1.065, allocations: 28.52 kB / 0.7564 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/1.065, allocations: 11.28 kB / 0.7564 GB, free: 17.39 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.0001524/1.065, allocations: 149.9 kB / 0.7566 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/1.065, allocations: 29.84 kB / 0.7566 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/1.066, allocations: 218.5 kB / 0.7568 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.066, allocations: 2.312 kB / 0.7568 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.066, allocations: 1.312 kB / 0.7568 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.066, allocations: 4.844 kB / 0.7568 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/1.066, allocations: 0.6904 MB / 0.7575 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.066, allocations: 4 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.067, allocations: 36.95 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/1.067, allocations: 3.406 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/1.067, allocations: 6.5 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.067, allocations: 3.438 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.067, allocations: 6.125 kB / 0.7575 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/1.067, allocations: 435.8 kB / 0.758 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/1.067, allocations: 116.5 kB / 0.7581 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/1.067, allocations: 6.469 kB / 0.7581 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.068, allocations: 10.22 kB / 0.7581 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/1.068, allocations: 13.48 kB / 0.7581 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/1.068, allocations: 10.5 kB / 0.7581 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002729/1.068, allocations: 224 kB / 0.7583 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 0.7812 kB / 0.7583 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004419/1.068, allocations: 84.78 kB / 0.7584 GB, free: 16.45 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.0004457/1.069, allocations: 178.8 kB / 0.7586 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004453/1.069, allocations: 169.7 kB / 0.7587 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.069, allocations: 0.875 kB / 0.7587 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/1.07, allocations: 91.5 kB / 0.7588 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/1.07, allocations: 163.4 kB / 0.759 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/1.072, allocations: 0.5976 MB / 0.7596 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/1.072, allocations: 0.7755 MB / 0.7603 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002205/1.072, allocations: 63.55 kB / 0.7604 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/1.072, allocations: 25.45 kB / 0.7604 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/1.072, allocations: 2 kB / 0.7604 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.0123/1.085, allocations: 5.733 MB / 0.766 GB, free: 15.18 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)