Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001255/0.001255, allocations: 193.2 kB / 16.14 MB, free: 6.664 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8479/0.8479, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 60.22 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1339, allocations: 80.94 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3545/0.4885, allocations: 159.2 MB / 0.7393 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.4912, allocations: 1.721 MB / 0.741 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.4915, allocations: 9.938 kB / 0.741 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.492, allocations: 132.2 kB / 0.7411 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.4931, allocations: 492.7 kB / 0.7416 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009685/0.4941, allocations: 376.2 kB / 0.742 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.4949, allocations: 0.7584 MB / 0.7427 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.4952, allocations: 153.1 kB / 0.7428 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.4958, allocations: 299.8 kB / 0.7431 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.496, allocations: 159.6 kB / 0.7433 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.496, allocations: 8.875 kB / 0.7433 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.4972, allocations: 0.7726 MB / 0.744 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.4973, allocations: 75.08 kB / 0.7441 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4974, allocations: 115.3 kB / 0.7442 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.4982, allocations: 0.5149 MB / 0.7447 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.4982, allocations: 1.375 kB / 0.7447 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.21e-07/0.4982, allocations: 0 / 0.7447 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4982, allocations: 0 / 0.7447 GB, free: 6.367 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.0007768/0.499, allocations: 0.5814 MB / 0.7453 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.499, allocations: 9.625 kB / 0.7453 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.4991, allocations: 48.05 kB / 0.7454 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003126/0.4994, allocations: 56.47 kB / 0.7454 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.4998, allocations: 291.1 kB / 0.7457 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4998, allocations: 11.25 kB / 0.7457 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4998, allocations: 13.31 kB / 0.7457 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.5002, allocations: 201 kB / 0.7459 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5002, allocations: 3.938 kB / 0.7459 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.5002, allocations: 6.906 kB / 0.7459 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5002, allocations: 2.812 kB / 0.7459 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.5005, allocations: 129.6 kB / 0.746 GB, free: 5.254 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.0009166/0.5014, allocations: 0.7836 MB / 0.7468 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.5017, allocations: 84.25 kB / 0.7469 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5018, allocations: 74.91 kB / 0.747 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.5021, allocations: 196.9 kB / 0.7471 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5022, allocations: 30.56 kB / 0.7472 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.5022, allocations: 0 / 0.7472 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005971/0.5028, allocations: 222.8 kB / 0.7474 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.5028, allocations: 53.84 kB / 0.7474 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5031, allocations: 269.6 kB / 0.7477 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5031, allocations: 28.33 kB / 0.7477 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.5032, allocations: 148.1 kB / 0.7479 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5032, allocations: 28.91 kB / 0.7479 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.5033, allocations: 31.8 kB / 0.7479 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5034, allocations: 331.8 kB / 0.7482 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5035, allocations: 51.39 kB / 0.7483 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.5037, allocations: 89.92 kB / 0.7484 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.5039, allocations: 127.8 kB / 0.7485 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5039, allocations: 4 kB / 0.7485 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003158/0.5043, allocations: 157.9 kB / 0.7486 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5043, allocations: 10.91 kB / 0.7487 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5043, allocations: 2.812 kB / 0.7487 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5043, allocations: 0 / 0.7487 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5044, allocations: 24.05 kB / 0.7487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5044, allocations: 4.234 kB / 0.7487 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.5046, allocations: 26.27 kB / 0.7487 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5046, allocations: 13.14 kB / 0.7487 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001787/0.5048, allocations: 140.1 kB / 0.7489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/0.505, allocations: 94.36 kB / 0.7489 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002199/0.5052, allocations: 121.4 kB / 0.7491 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.5052, allocations: 2.594 kB / 0.7491 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002847/0.5055, allocations: 147.2 kB / 0.7492 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.5055, allocations: 5.094 kB / 0.7492 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5055, allocations: 14.36 kB / 0.7492 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.5055, allocations: 12 kB / 0.7492 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5057, allocations: 20.2 kB / 0.7493 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.5057, allocations: 3.625 kB / 0.7493 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.5058, allocations: 19.83 kB / 0.7493 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.5059, allocations: 5.312 kB / 0.7493 GB, free: 2.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.598e-05/0.506, allocations: 184 kB / 0.7495 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.506, allocations: 32.97 kB / 0.7495 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.5064, allocations: 162.4 kB / 0.7496 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5064, allocations: 0 / 0.7496 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5064, allocations: 2.906 kB / 0.7496 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5064, allocations: 3.984 kB / 0.7497 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.5072, allocations: 0.5835 MB / 0.7502 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5072, allocations: 2.625 kB / 0.7502 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5073, allocations: 22.55 kB / 0.7502 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5073, allocations: 6.812 kB / 0.7503 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5073, allocations: 2.531 kB / 0.7503 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5073, allocations: 2.5 kB / 0.7503 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5073, allocations: 7 kB / 0.7503 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.5077, allocations: 304 kB / 0.7506 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.5078, allocations: 110.3 kB / 0.7507 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.5078, allocations: 3.5 kB / 0.7507 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.508, allocations: 26.03 kB / 0.7507 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.508, allocations: 9.344 kB / 0.7507 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5081, allocations: 12.39 kB / 0.7507 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001515/0.5082, allocations: 194 kB / 0.7509 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5082, allocations: 7.875 kB / 0.7509 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004218/0.5087, allocations: 92.22 kB / 0.751 GB, free: 1.168 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 (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.0008286/0.5095, allocations: 0.8873 MB / 0.7519 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.5099, allocations: 160.4 kB / 0.752 GB, free: 288 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5099, allocations: 0 / 0.752 GB, free: 288 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5101, allocations: 66.44 kB / 0.7521 GB, free: 256 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.5108, allocations: 133.5 kB / 0.7522 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.5134, allocations: 2.414 MB / 0.7546 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5137, allocations: 0.7599 MB / 0.7553 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.5139, allocations: 70.88 kB / 0.7554 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.5141, allocations: 75.41 kB / 0.7554 GB, free: 13 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5141, allocations: 0 / 0.7554 GB, free: 13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2356/0.7496, allocations: 6.615 MB / 0.7619 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.7498, allocations: 235.3 kB / 0.7621 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.768, allocations: 4 kB / 0.7621 GB, free: 6.332 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)