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.008868/0.008868, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001749/0.001749, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 55.91 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4212, allocations: 80.92 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1759/0.5972, allocations: 167.3 MB / 0.8276 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.6002, allocations: 1.547 MB / 0.8291 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.6008, allocations: 19.88 kB / 0.8291 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.6013, allocations: 146.9 kB / 0.8293 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.6034, allocations: 0.7 MB / 0.8299 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.6054, allocations: 0.6058 MB / 0.8305 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.6066, allocations: 0.7012 MB / 0.8312 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.6071, allocations: 229.1 kB / 0.8314 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/0.6079, allocations: 342.7 kB / 0.8318 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.6083, allocations: 219.1 kB / 0.832 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.6083, allocations: 24 kB / 0.832 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.61, allocations: 0.865 MB / 0.8328 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.6102, allocations: 111.7 kB / 0.833 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.6105, allocations: 159.2 kB / 0.8331 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.6121, allocations: 0.7284 MB / 0.8338 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.6121, allocations: 0 / 0.8338 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6121, allocations: 4 kB / 0.8338 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6121, allocations: 0 / 0.8338 GB, free: 3.234 MB / 0.6544 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.00108/0.6132, allocations: 0.6505 MB / 0.8345 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6132, allocations: 15.97 kB / 0.8345 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.6133, allocations: 50.55 kB / 0.8345 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.6145, allocations: 155.5 kB / 0.8347 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.6151, allocations: 325.6 kB / 0.835 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6151, allocations: 20.38 kB / 0.835 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.6152, allocations: 24 kB / 0.835 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.6157, allocations: 271.5 kB / 0.8353 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6157, allocations: 3.938 kB / 0.8353 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6157, allocations: 8 kB / 0.8353 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.6157, allocations: 8 kB / 0.8353 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.6161, allocations: 195.8 kB / 0.8355 GB, free: 1.406 MB / 0.6544 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.001445/0.6176, allocations: 1.217 MB / 0.8367 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.6179, allocations: 138.5 kB / 0.8368 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.6181, allocations: 92.8 kB / 0.8369 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.6186, allocations: 299.2 kB / 0.8372 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6187, allocations: 38.56 kB / 0.8372 GB, free: 15.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.6187, allocations: 0 / 0.8372 GB, free: 15.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007839/0.6195, allocations: 277.4 kB / 0.8375 GB, free: 15.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.6195, allocations: 51.41 kB / 0.8375 GB, free: 15.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.6198, allocations: 316.5 kB / 0.8378 GB, free: 14.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.6199, allocations: 33.64 kB / 0.8379 GB, free: 14.76 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.62, allocations: 176.2 kB / 0.838 GB, free: 14.58 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.62, allocations: 59.19 kB / 0.8381 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.6201, allocations: 41.7 kB / 0.8381 GB, free: 14.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6202, allocations: 342.8 kB / 0.8385 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6204, allocations: 67.95 kB / 0.8385 GB, free: 14.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.6206, allocations: 118.6 kB / 0.8386 GB, free: 13.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.621, allocations: 192.9 kB / 0.8388 GB, free: 13.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.621, allocations: 0 / 0.8388 GB, free: 13.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004813/0.6215, allocations: 243.1 kB / 0.839 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6215, allocations: 4 kB / 0.8391 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6215, allocations: 4 kB / 0.8391 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.6215, allocations: 4.141 kB / 0.8391 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.6218, allocations: 47.86 kB / 0.8391 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6218, allocations: 4.078 kB / 0.8391 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.622, allocations: 43.61 kB / 0.8392 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.622, allocations: 15.98 kB / 0.8392 GB, free: 13.36 MB / 0.67 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.0001348/0.6222, allocations: 145.8 kB / 0.8393 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.6222, allocations: 27.72 kB / 0.8393 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.6227, allocations: 219.5 kB / 0.8395 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6227, allocations: 0 / 0.8395 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6227, allocations: 4 kB / 0.8395 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6227, allocations: 7.875 kB / 0.8396 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.6238, allocations: 0.6874 MB / 0.8402 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.6238, allocations: 0 / 0.8402 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.624, allocations: 31.97 kB / 0.8403 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.624, allocations: 4 kB / 0.8403 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.624, allocations: 8 kB / 0.8403 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.624, allocations: 7.938 kB / 0.8403 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.624, allocations: 80 / 0.8403 GB, free: 12.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.6247, allocations: 445.1 kB / 0.8407 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.6249, allocations: 120.7 kB / 0.8408 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.6249, allocations: 4 kB / 0.8408 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6251, allocations: 15.98 kB / 0.8408 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.6252, allocations: 7.984 kB / 0.8408 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.6252, allocations: 8 kB / 0.8408 GB, free: 11.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00025/0.6255, allocations: 235 kB / 0.8411 GB, free: 11.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6255, allocations: 0 / 0.8411 GB, free: 11.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004275/0.6259, allocations: 72 kB / 0.8411 GB, free: 11.2 MB / 0.67 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.001213/0.6271, allocations: 1.038 MB / 0.8422 GB, free: 10.12 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.6276, allocations: 171.8 kB / 0.8423 GB, free: 9.949 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6276, allocations: 0 / 0.8423 GB, free: 9.949 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.6278, allocations: 92.38 kB / 0.8424 GB, free: 9.859 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.6287, allocations: 174.2 kB / 0.8426 GB, free: 9.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.6322, allocations: 2.888 MB / 0.8454 GB, free: 6.664 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6325, allocations: 0.7795 MB / 0.8462 GB, free: 5.859 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.6328, allocations: 66.92 kB / 0.8462 GB, free: 5.793 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6329, allocations: 87.41 kB / 0.8463 GB, free: 5.707 MB / 0.67 GB Notification: Performance of SimCode: time 6.92e-07/0.6329, allocations: 0 / 0.8463 GB, free: 5.707 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.6657, allocations: 8.951 MB / 0.855 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.855, allocations: 7.547 kB / 0.855 GB, free: 12.93 MB / 0.6856 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)