Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.087/1.087, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.56 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4724/0.6293, allocations: 167.4 MB / 0.7479 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.6322, allocations: 1.552 MB / 0.7494 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.6326, allocations: 10.81 kB / 0.7495 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.6331, allocations: 151.3 kB / 0.7496 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.6347, allocations: 0.7129 MB / 0.7503 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.6361, allocations: 0.5939 MB / 0.7509 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.6368, allocations: 0.7199 MB / 0.7516 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.6371, allocations: 233 kB / 0.7518 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005641/0.6377, allocations: 350.3 kB / 0.7521 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.638, allocations: 226.6 kB / 0.7524 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.638, allocations: 27.56 kB / 0.7524 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.6395, allocations: 0.8588 MB / 0.7532 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.6396, allocations: 116.9 kB / 0.7533 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.6398, allocations: 169.6 kB / 0.7535 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.6409, allocations: 0.7285 MB / 0.7542 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6409, allocations: 0 / 0.7542 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.641, allocations: 4 kB / 0.7542 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.641, allocations: 0 / 0.7542 GB, free: 14.73 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001017/0.642, allocations: 0.6628 MB / 0.7549 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.6421, allocations: 8.094 kB / 0.7549 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/0.6421, allocations: 66 kB / 0.7549 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6433, allocations: 152.6 kB / 0.7551 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.6438, allocations: 312.5 kB / 0.7554 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.6438, allocations: 22.88 kB / 0.7554 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.6438, allocations: 23.69 kB / 0.7554 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.6443, allocations: 281.4 kB / 0.7557 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6443, allocations: 3.938 kB / 0.7557 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.6444, allocations: 15.98 kB / 0.7557 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.6444, allocations: 8 kB / 0.7557 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.6448, allocations: 204.9 kB / 0.7559 GB, free: 13.21 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.00133/0.6461, allocations: 1.232 MB / 0.7571 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.6464, allocations: 149.5 kB / 0.7572 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.6466, allocations: 96.8 kB / 0.7573 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/0.6473, allocations: 299.2 kB / 0.7576 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.6474, allocations: 36.31 kB / 0.7577 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.6474, allocations: 0 / 0.7577 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007729/0.6482, allocations: 301.3 kB / 0.7579 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.6482, allocations: 55.41 kB / 0.758 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.6485, allocations: 320.5 kB / 0.7583 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.6486, allocations: 29.7 kB / 0.7583 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.6487, allocations: 180.2 kB / 0.7585 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.6488, allocations: 63.09 kB / 0.7586 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.6489, allocations: 49.7 kB / 0.7586 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6491, allocations: 342.8 kB / 0.7589 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.6492, allocations: 75.94 kB / 0.759 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.6495, allocations: 119.7 kB / 0.7591 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.6498, allocations: 206.5 kB / 0.7593 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6498, allocations: 4 kB / 0.7593 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000459/0.6503, allocations: 251.6 kB / 0.7596 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6503, allocations: 8 kB / 0.7596 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6503, allocations: 96 / 0.7596 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6504, allocations: 8 kB / 0.7596 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.6506, allocations: 43.91 kB / 0.7596 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.6506, allocations: 4 kB / 0.7596 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.6508, allocations: 35.67 kB / 0.7597 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.6508, allocations: 8 kB / 0.7597 GB, free: 9.09 MB / 0.5762 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 (24): * Single equations (assignments): 24 * 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.000131/0.651, allocations: 155 kB / 0.7598 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.651, allocations: 31.62 kB / 0.7598 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.6515, allocations: 231.8 kB / 0.7601 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6515, allocations: 0 / 0.7601 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6515, allocations: 0 / 0.7601 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6515, allocations: 3.984 kB / 0.7601 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.6526, allocations: 0.7107 MB / 0.7608 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6527, allocations: 0 / 0.7608 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6528, allocations: 39.86 kB / 0.7608 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6529, allocations: 4 kB / 0.7608 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.6529, allocations: 16.16 kB / 0.7608 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6529, allocations: 0 / 0.7608 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6529, allocations: 7.984 kB / 0.7608 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.6536, allocations: 442.6 kB / 0.7613 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.6537, allocations: 124.7 kB / 0.7614 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.6538, allocations: 11.94 kB / 0.7614 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.654, allocations: 7.984 kB / 0.7614 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.654, allocations: 20.05 kB / 0.7614 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.654, allocations: 4 kB / 0.7614 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002444/0.6543, allocations: 231 kB / 0.7616 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.703e-06/0.6543, allocations: 0 / 0.7616 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004304/0.6547, allocations: 91.78 kB / 0.7617 GB, free: 6.848 MB / 0.5762 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 (17): * Single equations (assignments): 17 * 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.001233/0.656, allocations: 1.039 MB / 0.7627 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.6565, allocations: 185.3 kB / 0.7629 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6565, allocations: 12.06 kB / 0.7629 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.6567, allocations: 87.89 kB / 0.763 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.6575, allocations: 173.4 kB / 0.7632 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.6611, allocations: 3.02 MB / 0.7661 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.6615, allocations: 0.7842 MB / 0.7669 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.6618, allocations: 68.92 kB / 0.767 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6619, allocations: 99.41 kB / 0.7671 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6619, allocations: 0 / 0.7671 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.6907, allocations: 8.911 MB / 0.7758 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/8.241, allocations: 12.88 kB / 0.7758 GB, free: 8.465 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)