Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.0008075/0.0008076, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009728/0.0009729, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8.531 kB / 0.5035 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4021, allocations: 81.57 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1766/0.5787, allocations: 146.7 MB / 0.7264 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.5816, allocations: 1.594 MB / 0.7279 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.5818, allocations: 11.94 kB / 0.7279 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.5823, allocations: 103.2 kB / 0.728 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.5834, allocations: 390.2 kB / 0.7284 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.5845, allocations: 364.3 kB / 0.7288 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008408/0.5853, allocations: 0.6434 MB / 0.7294 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.5856, allocations: 136.4 kB / 0.7295 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.5862, allocations: 266.8 kB / 0.7298 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.5864, allocations: 155.3 kB / 0.7299 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.5864, allocations: 4 kB / 0.7299 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009904/0.5874, allocations: 0.5223 MB / 0.7304 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5876, allocations: 75.7 kB / 0.7305 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.5876, allocations: 69.58 kB / 0.7306 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.5881, allocations: 327.2 kB / 0.7309 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5881, allocations: 3.938 kB / 0.7309 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5881, allocations: 0 / 0.7309 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5881, allocations: 0 / 0.7309 GB, free: 8.93 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008004/0.5889, allocations: 0.5429 MB / 0.7314 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.589, allocations: 8.031 kB / 0.7314 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.589, allocations: 46.55 kB / 0.7315 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.5894, allocations: 59.59 kB / 0.7315 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.5897, allocations: 277.5 kB / 0.7318 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5898, allocations: 12 kB / 0.7318 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.5898, allocations: 16 kB / 0.7318 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.5902, allocations: 200.1 kB / 0.732 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5902, allocations: 0 / 0.732 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.5902, allocations: 8 kB / 0.732 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5902, allocations: 0 / 0.732 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.5905, allocations: 135.9 kB / 0.7321 GB, free: 7.531 MB / 0.5606 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.0009807/0.5915, allocations: 0.7964 MB / 0.7329 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.5918, allocations: 94.53 kB / 0.733 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.592, allocations: 80.8 kB / 0.7331 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.5923, allocations: 190.2 kB / 0.7333 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5923, allocations: 34.56 kB / 0.7333 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.5924, allocations: 3.938 kB / 0.7333 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006437/0.593, allocations: 233.2 kB / 0.7335 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.5931, allocations: 51.41 kB / 0.7336 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.5933, allocations: 267 kB / 0.7338 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.5934, allocations: 29.7 kB / 0.7339 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5935, allocations: 147.7 kB / 0.734 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.5935, allocations: 39.45 kB / 0.734 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.5935, allocations: 4 kB / 0.734 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5937, allocations: 334.8 kB / 0.7344 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.5938, allocations: 43.97 kB / 0.7344 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.594, allocations: 105 kB / 0.7345 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5941, allocations: 51.97 kB / 0.7346 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5941, allocations: 0 / 0.7346 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003081/0.5944, allocations: 169.3 kB / 0.7347 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.5945, allocations: 107.6 kB / 0.7348 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5945, allocations: 8.031 kB / 0.7348 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5945, allocations: 8 kB / 0.7348 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5947, allocations: 23.98 kB / 0.7349 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5947, allocations: 4 kB / 0.7349 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.5948, allocations: 19.94 kB / 0.7349 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.5949, allocations: 7.984 kB / 0.7349 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.5949, allocations: 8 kB / 0.7349 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002585/0.5952, allocations: 115.8 kB / 0.735 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.5952, allocations: 0 / 0.735 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-06/0.5952, allocations: 4 kB / 0.735 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.5953, allocations: 24.02 kB / 0.735 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.5953, allocations: 7.984 kB / 0.735 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.5955, allocations: 32.38 kB / 0.7351 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.5955, allocations: 4 kB / 0.7351 GB, free: 4.312 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0001499/0.5956, allocations: 213.1 kB / 0.7353 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.5957, allocations: 27.95 kB / 0.7353 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5961, allocations: 179.2 kB / 0.7355 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5961, allocations: 7.984 kB / 0.7355 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5961, allocations: 0 / 0.7355 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5961, allocations: 0 / 0.7355 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.597, allocations: 0.6054 MB / 0.7361 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.597, allocations: 4 kB / 0.7361 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.5971, allocations: 23.98 kB / 0.7361 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5971, allocations: 0 / 0.7361 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.5971, allocations: 4 kB / 0.7361 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5971, allocations: 7.938 kB / 0.7361 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5971, allocations: 0 / 0.7361 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.5975, allocations: 309.3 kB / 0.7364 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.5976, allocations: 112.8 kB / 0.7365 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.5977, allocations: 4 kB / 0.7365 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.5979, allocations: 27.89 kB / 0.7365 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.5979, allocations: 11.94 kB / 0.7366 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5979, allocations: 4 kB / 0.7366 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001747/0.5981, allocations: 201.9 kB / 0.7368 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5981, allocations: 0 / 0.7368 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004374/0.5986, allocations: 87.94 kB / 0.7368 GB, free: 2.363 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * 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.0008971/0.5995, allocations: 0.9035 MB / 0.7377 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.5999, allocations: 180.2 kB / 0.7379 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5999, allocations: 3.938 kB / 0.7379 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.6001, allocations: 68.45 kB / 0.738 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.6008, allocations: 134.5 kB / 0.7381 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.6028, allocations: 1.323 MB / 0.7394 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6031, allocations: 0.7521 MB / 0.7401 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.6034, allocations: 70.22 kB / 0.7402 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6035, allocations: 67.42 kB / 0.7402 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6035, allocations: 0 / 0.7402 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.6214, allocations: 6.543 MB / 0.7466 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.6216, allocations: 216.2 kB / 0.7468 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.488, allocations: 0 / 0.7468 GB, free: 8.16 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: