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.0008758/0.0008758, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005292/0.005292, allocations: 170 kB / 16.27 MB, free: 6.652 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8453/0.8453, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 8.234 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 82.32 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3825/0.5147, allocations: 163 MB / 0.7472 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.5171, allocations: 1.549 MB / 0.7488 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.5175, allocations: 14.75 kB / 0.7488 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.5179, allocations: 117.7 kB / 0.7489 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.5193, allocations: 0.6648 MB / 0.7495 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.5206, allocations: 0.5517 MB / 0.7501 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.5216, allocations: 0.991 MB / 0.751 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.5219, allocations: 202 kB / 0.7512 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.5225, allocations: 317.2 kB / 0.7515 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.5228, allocations: 231.1 kB / 0.7518 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.5228, allocations: 15.75 kB / 0.7518 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.5241, allocations: 1.006 MB / 0.7528 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.5243, allocations: 105.9 kB / 0.7529 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.5244, allocations: 185.8 kB / 0.753 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.5253, allocations: 0.766 MB / 0.7538 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5253, allocations: 0 / 0.7538 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5253, allocations: 4 kB / 0.7538 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5253, allocations: 0 / 0.7538 GB, free: 1.578 MB / 0.5606 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.0007249/0.526, allocations: 0.6113 MB / 0.7544 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.5261, allocations: 9.938 kB / 0.7544 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.5261, allocations: 59.27 kB / 0.7544 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5272, allocations: 161.5 kB / 0.7546 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.5275, allocations: 307.5 kB / 0.7549 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5275, allocations: 21.97 kB / 0.7549 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5276, allocations: 19.66 kB / 0.7549 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.528, allocations: 293.3 kB / 0.7552 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.528, allocations: 2.562 kB / 0.7552 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.528, allocations: 4 kB / 0.7552 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.528, allocations: 6.25 kB / 0.7552 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.5284, allocations: 217.3 kB / 0.7554 GB, free: 296 kB / 0.5606 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.001149/0.5296, allocations: 1.235 MB / 0.7566 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5298, allocations: 155.3 kB / 0.7568 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.53, allocations: 102.7 kB / 0.7569 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.5305, allocations: 323.8 kB / 0.7572 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.5305, allocations: 30.56 kB / 0.7572 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.203e-06/0.5306, allocations: 0 / 0.7572 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0006709/0.5312, allocations: 312.5 kB / 0.7575 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5313, allocations: 57.53 kB / 0.7576 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.5315, allocations: 326.9 kB / 0.7579 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5316, allocations: 28.83 kB / 0.7579 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5317, allocations: 175.1 kB / 0.7581 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.5317, allocations: 65.84 kB / 0.7581 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.5318, allocations: 21.72 kB / 0.7582 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.5319, allocations: 346.7 kB / 0.7585 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.532, allocations: 79.89 kB / 0.7586 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.5322, allocations: 127.3 kB / 0.7587 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.5326, allocations: 217 kB / 0.7589 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5326, allocations: 0 / 0.7589 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004391/0.533, allocations: 261 kB / 0.7592 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.533, allocations: 5.875 kB / 0.7592 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5331, allocations: 4 kB / 0.7592 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.5331, allocations: 0 / 0.7592 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.5333, allocations: 60 kB / 0.7592 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.5333, allocations: 1.25 kB / 0.7592 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.5335, allocations: 35.77 kB / 0.7593 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.5335, allocations: 8 kB / 0.7593 GB, free: 12.79 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.0001226/0.5337, allocations: 157.7 kB / 0.7594 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5337, allocations: 27.62 kB / 0.7594 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.5342, allocations: 245.5 kB / 0.7597 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5342, allocations: 144 / 0.7597 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5342, allocations: 0 / 0.7597 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5342, allocations: 3.984 kB / 0.7597 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009306/0.5351, allocations: 0.7224 MB / 0.7604 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5352, allocations: 3.625 kB / 0.7604 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.5353, allocations: 43.91 kB / 0.7604 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5353, allocations: 4 kB / 0.7604 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.5354, allocations: 7.938 kB / 0.7604 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5354, allocations: 4.094 kB / 0.7604 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5354, allocations: 4.156 kB / 0.7604 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.536, allocations: 471.7 kB / 0.7609 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.5361, allocations: 124.7 kB / 0.761 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.5361, allocations: 3.938 kB / 0.761 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.5363, allocations: 24.05 kB / 0.761 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5363, allocations: 11.98 kB / 0.7611 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.5364, allocations: 11.94 kB / 0.7611 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.5366, allocations: 231 kB / 0.7613 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5366, allocations: 0 / 0.7613 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003343/0.5369, allocations: 87.94 kB / 0.7614 GB, free: 10.49 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.0009823/0.5379, allocations: 1.054 MB / 0.7624 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.5383, allocations: 195.8 kB / 0.7626 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5383, allocations: 0 / 0.7626 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.5385, allocations: 95.83 kB / 0.7627 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.5393, allocations: 169.5 kB / 0.7628 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.5424, allocations: 3.17 MB / 0.7659 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5427, allocations: 0.7797 MB / 0.7667 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.5429, allocations: 68.23 kB / 0.7668 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.543, allocations: 95.41 kB / 0.7669 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of SimCode: time 2.01e-07/0.543, allocations: 0 / 0.7669 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.341/4.884, allocations: 8.4 MB / 0.7751 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/4.884, allocations: 226.3 kB / 0.7753 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/7.134, allocations: 3.938 kB / 0.7753 GB, free: 12.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)