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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_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.01021/0.01021, allocations: 102 kB / 15.73 MB, free: 6.484 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.001911/0.001911, allocations: 190.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.39/2.39, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.112/1.112, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001879, allocations: 67.19 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2878, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 1.268/1.555, allocations: 167.3 MB / 0.8226 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007219/1.563, allocations: 1.549 MB / 0.8241 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/1.564, allocations: 14.89 kB / 0.8242 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/1.565, allocations: 146.7 kB / 0.8243 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005156/1.57, allocations: 0.6986 MB / 0.825 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/1.575, allocations: 0.603 MB / 0.8256 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002922/1.578, allocations: 0.7048 MB / 0.8263 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/1.579, allocations: 227.3 kB / 0.8265 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/1.581, allocations: 337.5 kB / 0.8268 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/1.582, allocations: 224.3 kB / 0.827 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/1.582, allocations: 22.94 kB / 0.827 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004669/1.587, allocations: 0.8657 MB / 0.8279 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005033/1.588, allocations: 111.6 kB / 0.828 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009933/1.589, allocations: 165.2 kB / 0.8281 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003646/1.592, allocations: 0.7248 MB / 0.8288 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.592, allocations: 5.703 kB / 0.8288 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.307e-06/1.592, allocations: 0.9688 kB / 0.8288 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.979e-05/1.592, allocations: 0 / 0.8288 GB, free: 2.785 MB / 0.6387 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.002338/1.595, allocations: 0.6494 MB / 0.8295 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.992e-05/1.595, allocations: 9.25 kB / 0.8295 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/1.595, allocations: 57.7 kB / 0.8295 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.597, allocations: 161.5 kB / 0.8297 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/1.598, allocations: 322.4 kB / 0.83 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/1.598, allocations: 19.12 kB / 0.83 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/1.598, allocations: 22.03 kB / 0.83 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/1.599, allocations: 274.6 kB / 0.8303 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.599, allocations: 0.8438 kB / 0.8303 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/1.599, allocations: 9.688 kB / 0.8303 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/1.599, allocations: 6.688 kB / 0.8303 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/1.599, allocations: 202.5 kB / 0.8305 GB, free: 1.93 MB / 0.6387 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.00253/1.602, allocations: 1.212 MB / 0.8317 GB, free: 17.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/1.602, allocations: 135.4 kB / 0.8318 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/1.603, allocations: 93.98 kB / 0.8319 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007456/1.603, allocations: 299.9 kB / 0.8322 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/1.603, allocations: 33.97 kB / 0.8322 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/1.603, allocations: 0.9062 kB / 0.8322 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0009742/1.604, allocations: 283.3 kB / 0.8325 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/1.604, allocations: 63.19 kB / 0.8326 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/1.605, allocations: 310.4 kB / 0.8329 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/1.605, allocations: 31.45 kB / 0.8329 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.605, allocations: 183.5 kB / 0.8331 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.036e-05/1.605, allocations: 56.23 kB / 0.8331 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/1.606, allocations: 40.55 kB / 0.8332 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000241/1.606, allocations: 338.1 kB / 0.8335 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/1.606, allocations: 65.89 kB / 0.8335 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/1.607, allocations: 120.7 kB / 0.8337 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/1.607, allocations: 200.4 kB / 0.8339 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.607, allocations: 1.312 kB / 0.8339 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006885/1.608, allocations: 247.2 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.608, allocations: 5.812 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.608, allocations: 5.031 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/1.608, allocations: 3.406 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/1.608, allocations: 39.19 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.608, allocations: 6.094 kB / 0.8341 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/1.608, allocations: 35.55 kB / 0.8342 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/1.609, allocations: 7.781 kB / 0.8342 GB, free: 15.86 MB / 0.6544 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.000241/1.609, allocations: 149.3 kB / 0.8343 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/1.609, allocations: 37.64 kB / 0.8344 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/1.61, allocations: 219.7 kB / 0.8346 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.61, allocations: 3.625 kB / 0.8346 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.61, allocations: 0 / 0.8346 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/1.61, allocations: 3.016 kB / 0.8346 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/1.612, allocations: 0.6772 MB / 0.8352 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.612, allocations: 2.312 kB / 0.8352 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/1.612, allocations: 33.42 kB / 0.8353 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/1.612, allocations: 3.562 kB / 0.8353 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.612, allocations: 8.031 kB / 0.8353 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/1.612, allocations: 6.234 kB / 0.8353 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.612, allocations: 4.438 kB / 0.8353 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.614, allocations: 433.3 kB / 0.8357 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/1.614, allocations: 125 kB / 0.8358 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/1.614, allocations: 9.703 kB / 0.8358 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.615, allocations: 9.781 kB / 0.8359 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/1.615, allocations: 17.59 kB / 0.8359 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.615, allocations: 5.156 kB / 0.8359 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00032/1.615, allocations: 230.9 kB / 0.8361 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/1.615, allocations: 3.094 kB / 0.8361 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006242/1.616, allocations: 70.72 kB / 0.8362 GB, free: 14.93 MB / 0.6544 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.001577/1.617, allocations: 1.032 MB / 0.8372 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005421/1.618, allocations: 178 kB / 0.8373 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.618, allocations: 1.031 kB / 0.8373 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/1.618, allocations: 89.81 kB / 0.8374 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.619, allocations: 164.4 kB / 0.8376 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/1.625, allocations: 2.903 MB / 0.8404 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/1.625, allocations: 0.7775 MB / 0.8412 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003087/1.626, allocations: 67.17 kB / 0.8412 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.626, allocations: 89.56 kB / 0.8413 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/1.626, allocations: 0 / 0.8413 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/1.683, allocations: 8.937 MB / 0.8501 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.83, allocations: 22.62 kB / 0.8501 GB, free: 11.21 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)