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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.772/0.772, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009519, allocations: 104 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.255e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4869, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.797/5.283, allocations: 1.868 GB / 2.502 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/5.284, allocations: 86.7 kB / 2.502 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9739/6.258, allocations: 243.7 MB / 2.74 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/6.258, allocations: 0 / 2.74 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.556e-05/6.258, allocations: 12 kB / 2.74 GB, free: 166.8 MB / 0.6823 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.001432/6.259, allocations: 0.6372 MB / 2.741 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/6.259, allocations: 12.03 kB / 2.741 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/6.261, allocations: 157.1 kB / 2.741 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/6.261, allocations: 301.6 kB / 2.742 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/6.261, allocations: 9.547 kB / 2.742 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/6.261, allocations: 15.91 kB / 2.742 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002801/6.262, allocations: 144.8 kB / 2.742 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/6.262, allocations: 222.6 kB / 2.742 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/6.262, allocations: 7.953 kB / 2.742 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/6.262, allocations: 3.984 kB / 2.742 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/6.262, allocations: 4 kB / 2.742 GB, free: 165.2 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001395/6.263, allocations: 1.136 MB / 2.743 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/6.264, allocations: 106.5 kB / 2.743 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/6.264, allocations: 56.84 kB / 2.743 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/6.264, allocations: 302.8 kB / 2.743 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/6.264, allocations: 34.56 kB / 2.744 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/6.264, allocations: 0 / 2.744 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006645/6.265, allocations: 199.8 kB / 2.744 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/6.265, allocations: 59.34 kB / 2.744 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/6.265, allocations: 202.4 kB / 2.744 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/6.265, allocations: 29.7 kB / 2.744 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/6.265, allocations: 184 kB / 2.744 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/6.265, allocations: 47.3 kB / 2.744 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/6.265, allocations: 4 kB / 2.744 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/6.265, allocations: 334.8 kB / 2.745 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/6.266, allocations: 44.36 kB / 2.745 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/6.266, allocations: 117.8 kB / 2.745 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/6.266, allocations: 91.3 kB / 2.745 GB, free: 162 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/6.266, allocations: 0 / 2.745 GB, free: 162 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003652/6.266, allocations: 217.2 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/6.266, allocations: 4 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/6.266, allocations: 4 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/6.266, allocations: 0 / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/6.267, allocations: 43.92 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/6.267, allocations: 7.984 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/6.267, allocations: 27.92 kB / 2.745 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/6.267, allocations: 12 kB / 2.745 GB, free: 161.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/6.267, allocations: 112.9 kB / 2.745 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003136/6.267, allocations: 173.3 kB / 2.745 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/6.267, allocations: 27.66 kB / 2.745 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/6.268, allocations: 192.9 kB / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/6.268, allocations: 11.98 kB / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/6.268, allocations: 4 kB / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/6.268, allocations: 96 / 2.746 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/6.269, allocations: 0.6096 MB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/6.269, allocations: 0 / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/6.269, allocations: 39.91 kB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/6.269, allocations: 4 kB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/6.269, allocations: 3.953 kB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/6.269, allocations: 4 kB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/6.269, allocations: 4 kB / 2.746 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/6.269, allocations: 465.7 kB / 2.747 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/6.269, allocations: 124.7 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/6.269, allocations: 4 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/6.27, allocations: 19.95 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/6.27, allocations: 19.92 kB / 2.747 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/6.27, allocations: 4 kB / 2.747 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001225/6.27, allocations: 162 kB / 2.747 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.27, allocations: 0 / 2.747 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006107/6.27, allocations: 151.3 kB / 2.747 GB, free: 159.4 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002827/6.273, allocations: 2.555 MB / 2.75 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003244/6.274, allocations: 127.7 kB / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/6.274, allocations: 0 / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/6.274, allocations: 64.42 kB / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/6.275, allocations: 108.5 kB / 2.75 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/6.276, allocations: 489.9 kB / 2.75 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/6.276, allocations: 0.7835 MB / 2.751 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002517/6.277, allocations: 54.03 kB / 2.751 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/6.277, allocations: 87.41 kB / 2.751 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/6.277, allocations: 0 / 2.751 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/6.317, allocations: 14.24 MB / 2.765 GB, free: 141 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/6.317, allocations: 162.5 kB / 2.765 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/8.654, allocations: 0 / 2.765 GB, free: 140.8 MB / 0.6823 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/linux/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)