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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.0009734/0.0009734, 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.001051/0.001051, allocations: 194 kB / 16.53 MB, free: 6.391 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.234/1.234, 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 0.8425/0.8425, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.31 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1351, allocations: 80.94 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3785/0.5137, allocations: 167.3 MB / 0.7479 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.5161, allocations: 1.543 MB / 0.7494 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.5163, allocations: 16.66 kB / 0.7494 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.5167, allocations: 146.1 kB / 0.7495 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.5181, allocations: 0.6973 MB / 0.7502 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.5193, allocations: 0.6009 MB / 0.7508 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.5199, allocations: 0.7014 MB / 0.7515 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.5202, allocations: 234.2 kB / 0.7517 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.5207, allocations: 330.7 kB / 0.752 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.521, allocations: 223.2 kB / 0.7522 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.521, allocations: 23.84 kB / 0.7523 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5221, allocations: 0.8736 MB / 0.7531 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.5223, allocations: 106.2 kB / 0.7532 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.5224, allocations: 165.8 kB / 0.7534 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.5232, allocations: 0.7158 MB / 0.7541 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5232, allocations: 0 / 0.7541 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5232, allocations: 0 / 0.7541 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5232, allocations: 2.906 kB / 0.7541 GB, free: 14.83 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.000766/0.524, allocations: 0.655 MB / 0.7547 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.524, allocations: 9.781 kB / 0.7547 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.5241, allocations: 58.55 kB / 0.7548 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.5251, allocations: 154.3 kB / 0.7549 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5255, allocations: 303.3 kB / 0.7552 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5255, allocations: 19 kB / 0.7552 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.5256, allocations: 16.88 kB / 0.7553 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.526, allocations: 285.8 kB / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.526, allocations: 0 / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.526, allocations: 8 kB / 0.7555 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.526, allocations: 8 kB / 0.7555 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.5264, allocations: 199.8 kB / 0.7557 GB, free: 13.39 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.00116/0.5276, allocations: 1.218 MB / 0.7569 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.5278, allocations: 138.5 kB / 0.7571 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.528, allocations: 88.75 kB / 0.7571 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.5286, allocations: 299.2 kB / 0.7574 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.5286, allocations: 42.56 kB / 0.7575 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.5286, allocations: 0 / 0.7575 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006896/0.5293, allocations: 274.3 kB / 0.7577 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5294, allocations: 55.41 kB / 0.7578 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.5296, allocations: 316.5 kB / 0.7581 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5297, allocations: 29.7 kB / 0.7581 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5298, allocations: 184.1 kB / 0.7583 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.5298, allocations: 59.19 kB / 0.7583 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.5299, allocations: 41.7 kB / 0.7584 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.53, allocations: 338.8 kB / 0.7587 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5301, allocations: 63.95 kB / 0.7588 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.5303, allocations: 127.8 kB / 0.7589 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.5307, allocations: 204.9 kB / 0.7591 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5307, allocations: 0 / 0.7591 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004165/0.5311, allocations: 237.1 kB / 0.7593 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5311, allocations: 4 kB / 0.7593 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5311, allocations: 4 kB / 0.7593 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5312, allocations: 0 / 0.7593 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.5313, allocations: 43.91 kB / 0.7594 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5314, allocations: 9.547 kB / 0.7594 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.5315, allocations: 27.77 kB / 0.7594 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.5316, allocations: 8 kB / 0.7594 GB, free: 9.371 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 (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.0001218/0.5317, allocations: 159 kB / 0.7596 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.5318, allocations: 27.62 kB / 0.7596 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.5322, allocations: 223.4 kB / 0.7598 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5322, allocations: 4 kB / 0.7598 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5322, allocations: 3.938 kB / 0.7598 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5322, allocations: 0 / 0.7598 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.5331, allocations: 0.6835 MB / 0.7605 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5331, allocations: 0 / 0.7605 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.5333, allocations: 39.84 kB / 0.7605 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5333, allocations: 4 kB / 0.7605 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5333, allocations: 4.141 kB / 0.7605 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5333, allocations: 0 / 0.7605 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5333, allocations: 5.562 kB / 0.7605 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.5339, allocations: 441.1 kB / 0.7609 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.534, allocations: 120.7 kB / 0.7611 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.534, allocations: 11.98 kB / 0.7611 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5342, allocations: 4 kB / 0.7611 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.5343, allocations: 19.92 kB / 0.7611 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5343, allocations: 4 kB / 0.7611 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001853/0.5345, allocations: 231.1 kB / 0.7613 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5345, allocations: 0 / 0.7613 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003354/0.5348, allocations: 83.91 kB / 0.7614 GB, free: 7.188 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 (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.0009637/0.5358, allocations: 1.026 MB / 0.7624 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.5362, allocations: 183.3 kB / 0.7626 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5362, allocations: 0 / 0.7626 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.5364, allocations: 88.5 kB / 0.7627 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.5372, allocations: 169.5 kB / 0.7628 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.5401, allocations: 2.91 MB / 0.7657 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5404, allocations: 0.7871 MB / 0.7664 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.5406, allocations: 58.92 kB / 0.7665 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5407, allocations: 83.42 kB / 0.7666 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5407, allocations: 0 / 0.7666 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.422/1.963, allocations: 8.743 MB / 0.7751 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.545/11.51, allocations: 28.64 kB / 0.7751 GB, free: 9.133 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)