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.008143/0.008143, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001282/0.001282, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9349/0.9349, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4117, allocations: 80.92 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1765/0.5882, allocations: 167.4 MB / 0.8276 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.591, allocations: 1.543 MB / 0.8291 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.5913, allocations: 11.94 kB / 0.8291 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.5919, allocations: 146.9 kB / 0.8293 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.5935, allocations: 0.7313 MB / 0.83 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.5949, allocations: 0.6057 MB / 0.8306 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.5956, allocations: 0.7051 MB / 0.8313 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.596, allocations: 233.1 kB / 0.8315 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005407/0.5965, allocations: 346.7 kB / 0.8318 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.5968, allocations: 219.1 kB / 0.832 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.5968, allocations: 20 kB / 0.832 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5981, allocations: 0.8767 MB / 0.8329 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.5982, allocations: 107.7 kB / 0.833 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.5984, allocations: 159.2 kB / 0.8332 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009816/0.5994, allocations: 0.7368 MB / 0.8339 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5994, allocations: 3.984 kB / 0.8339 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5994, allocations: 0 / 0.8339 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5994, allocations: 0 / 0.8339 GB, free: 3.176 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.0009709/0.6004, allocations: 0.6654 MB / 0.8345 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6004, allocations: 8.031 kB / 0.8345 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.774e-05/0.6005, allocations: 54.55 kB / 0.8346 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.6016, allocations: 159.6 kB / 0.8347 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.6022, allocations: 329.8 kB / 0.8351 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6022, allocations: 24.38 kB / 0.8351 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.6022, allocations: 23.94 kB / 0.8351 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.6027, allocations: 275.5 kB / 0.8354 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6027, allocations: 0 / 0.8354 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6028, allocations: 12 kB / 0.8354 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.6028, allocations: 4 kB / 0.8354 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.6032, allocations: 199.8 kB / 0.8356 GB, free: 1.32 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.001342/0.6045, allocations: 1.213 MB / 0.8368 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.6048, allocations: 150.4 kB / 0.8369 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.605, allocations: 84.81 kB / 0.837 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.6055, allocations: 303.2 kB / 0.8373 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6056, allocations: 34.56 kB / 0.8373 GB, free: 15.37 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.6056, allocations: 0 / 0.8373 GB, free: 15.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000746/0.6063, allocations: 280.4 kB / 0.8376 GB, free: 15.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.6064, allocations: 59.34 kB / 0.8376 GB, free: 15.02 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.6067, allocations: 320.5 kB / 0.8379 GB, free: 14.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.6068, allocations: 25.7 kB / 0.838 GB, free: 14.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6069, allocations: 184.3 kB / 0.8381 GB, free: 14.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.607, allocations: 55.53 kB / 0.8382 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.607, allocations: 41.7 kB / 0.8382 GB, free: 14.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6072, allocations: 342.8 kB / 0.8386 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6074, allocations: 59.95 kB / 0.8386 GB, free: 13.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.6076, allocations: 126.6 kB / 0.8387 GB, free: 13.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.6079, allocations: 185 kB / 0.8389 GB, free: 13.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6079, allocations: 4 kB / 0.8389 GB, free: 13.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004529/0.6084, allocations: 240.3 kB / 0.8391 GB, free: 13.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6084, allocations: 4 kB / 0.8391 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6084, allocations: 4 kB / 0.8391 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6084, allocations: 0 / 0.8391 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.6086, allocations: 44 kB / 0.8392 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6087, allocations: 8 kB / 0.8392 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.6089, allocations: 35.7 kB / 0.8392 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.6089, allocations: 12 kB / 0.8392 GB, free: 13.29 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.000137/0.6091, allocations: 151.3 kB / 0.8394 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.6091, allocations: 27.81 kB / 0.8394 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.6096, allocations: 220.3 kB / 0.8396 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6096, allocations: 8 kB / 0.8396 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.6096, allocations: 0 / 0.8396 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.6096, allocations: 3.938 kB / 0.8396 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000966/0.6106, allocations: 0.6913 MB / 0.8403 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6106, allocations: 4 kB / 0.8403 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6108, allocations: 35.91 kB / 0.8403 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6108, allocations: 4 kB / 0.8404 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6108, allocations: 11.94 kB / 0.8404 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.6108, allocations: 0 / 0.8404 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6108, allocations: 4 kB / 0.8404 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.6114, allocations: 441.3 kB / 0.8408 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6115, allocations: 120.9 kB / 0.8409 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.6116, allocations: 7.984 kB / 0.8409 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.6118, allocations: 8 kB / 0.8409 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.6118, allocations: 12.12 kB / 0.8409 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6118, allocations: 4 kB / 0.8409 GB, free: 11.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002106/0.6121, allocations: 235 kB / 0.8412 GB, free: 11.19 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6121, allocations: 0 / 0.8412 GB, free: 11.19 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003919/0.6125, allocations: 83.89 kB / 0.8412 GB, free: 11.11 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.001151/0.6136, allocations: 1.04 MB / 0.8423 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.614, allocations: 167.8 kB / 0.8424 GB, free: 9.859 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6141, allocations: 0 / 0.8424 GB, free: 9.859 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.6143, allocations: 92.44 kB / 0.8425 GB, free: 9.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.6152, allocations: 166.8 kB / 0.8427 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.6188, allocations: 2.904 MB / 0.8455 GB, free: 6.559 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6192, allocations: 0.7756 MB / 0.8463 GB, free: 5.758 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.6194, allocations: 66.92 kB / 0.8463 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6196, allocations: 87.41 kB / 0.8464 GB, free: 5.605 MB / 0.67 GB Notification: Performance of SimCode: time 2.7e-07/0.6196, allocations: 8 kB / 0.8464 GB, free: 5.598 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.6506, allocations: 8.821 MB / 0.855 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.398, allocations: 5.375 kB / 0.855 GB, free: 12.95 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)