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.0006957/0.000696, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.003979/0.003979, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8322/0.8322, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 12.91 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.127, allocations: 82.32 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3616/0.4887, allocations: 157.2 MB / 0.7416 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.4914, allocations: 1.697 MB / 0.7432 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.4917, allocations: 12.62 kB / 0.7432 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.4922, allocations: 127.7 kB / 0.7434 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.4934, allocations: 494.5 kB / 0.7438 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.4944, allocations: 372.6 kB / 0.7442 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009031/0.4953, allocations: 0.7709 MB / 0.7449 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.4956, allocations: 145.4 kB / 0.7451 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.4962, allocations: 292.9 kB / 0.7454 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.4964, allocations: 158.4 kB / 0.7455 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.4964, allocations: 8.406 kB / 0.7455 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.4976, allocations: 0.7756 MB / 0.7463 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.4977, allocations: 66.47 kB / 0.7463 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.4978, allocations: 134.6 kB / 0.7465 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.4985, allocations: 0.5082 MB / 0.747 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4985, allocations: 4 kB / 0.747 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4985, allocations: 0 / 0.747 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4985, allocations: 1.375 kB / 0.747 GB, free: 6.824 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.0006618/0.4992, allocations: 0.5446 MB / 0.7475 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4993, allocations: 9.625 kB / 0.7475 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.4993, allocations: 48.05 kB / 0.7476 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.4996, allocations: 63.06 kB / 0.7476 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4999, allocations: 287.9 kB / 0.7479 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4999, allocations: 10.88 kB / 0.7479 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4999, allocations: 13.62 kB / 0.7479 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.5003, allocations: 202.2 kB / 0.7481 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5003, allocations: 0 / 0.7481 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5003, allocations: 14.08 kB / 0.7481 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5003, allocations: 2.562 kB / 0.7481 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.5006, allocations: 135.3 kB / 0.7483 GB, free: 5.734 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.0008678/0.5015, allocations: 0.7924 MB / 0.749 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.5017, allocations: 85.56 kB / 0.7491 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5019, allocations: 81.58 kB / 0.7492 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.5022, allocations: 188.5 kB / 0.7494 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.5022, allocations: 36.06 kB / 0.7494 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.5022, allocations: 0 / 0.7494 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005988/0.5028, allocations: 243.8 kB / 0.7496 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5028, allocations: 55.41 kB / 0.7497 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.5031, allocations: 271.9 kB / 0.7499 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5031, allocations: 25.7 kB / 0.75 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.5032, allocations: 149.7 kB / 0.7501 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.5032, allocations: 34.39 kB / 0.7501 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.5032, allocations: 16.56 kB / 0.7502 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.5033, allocations: 331.9 kB / 0.7505 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.5034, allocations: 47.59 kB / 0.7505 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.5036, allocations: 95.64 kB / 0.7506 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.5038, allocations: 135.7 kB / 0.7507 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.5039, allocations: 2.906 kB / 0.7507 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003086/0.5042, allocations: 169.9 kB / 0.7509 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.5042, allocations: 120.5 kB / 0.751 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5042, allocations: 0 / 0.751 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.5042, allocations: 3 kB / 0.751 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5044, allocations: 26.39 kB / 0.7511 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5044, allocations: 7.219 kB / 0.7511 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.5045, allocations: 23.94 kB / 0.7511 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.5046, allocations: 3.406 kB / 0.7511 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-06/0.5046, allocations: 3.562 kB / 0.7511 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002506/0.5048, allocations: 121.9 kB / 0.7512 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.5048, allocations: 3.281 kB / 0.7512 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-06/0.5049, allocations: 0 / 0.7512 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.505, allocations: 22.55 kB / 0.7512 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.505, allocations: 7.281 kB / 0.7512 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.5051, allocations: 32.22 kB / 0.7513 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5052, allocations: 3.188 kB / 0.7513 GB, free: 3.25 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 0.0001178/0.5053, allocations: 217.5 kB / 0.7515 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.5053, allocations: 25.16 kB / 0.7515 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.5057, allocations: 178 kB / 0.7517 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5057, allocations: 3.938 kB / 0.7517 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5057, allocations: 2.656 kB / 0.7517 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5057, allocations: 0 / 0.7517 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.5064, allocations: 0.6063 MB / 0.7523 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5064, allocations: 3.375 kB / 0.7523 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5065, allocations: 25.64 kB / 0.7523 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5066, allocations: 6.656 kB / 0.7523 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5066, allocations: 3.438 kB / 0.7523 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5066, allocations: 7.594 kB / 0.7523 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5066, allocations: 0 / 0.7523 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.5069, allocations: 309.5 kB / 0.7526 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.507, allocations: 113.9 kB / 0.7527 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.507, allocations: 7.297 kB / 0.7527 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.5072, allocations: 23.36 kB / 0.7528 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.5073, allocations: 17.83 kB / 0.7528 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.5073, allocations: 2.75 kB / 0.7528 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001419/0.5074, allocations: 202.3 kB / 0.753 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5074, allocations: 2 kB / 0.753 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003905/0.5078, allocations: 94.12 kB / 0.7531 GB, free: 1.812 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.0007333/0.5086, allocations: 0.8993 MB / 0.7539 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.509, allocations: 177.3 kB / 0.7541 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.509, allocations: 2.594 kB / 0.7541 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.5091, allocations: 65.36 kB / 0.7542 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.51, allocations: 140.7 kB / 0.7543 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.5122, allocations: 2.449 MB / 0.7567 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5125, allocations: 0.7576 MB / 0.7574 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.5127, allocations: 72.03 kB / 0.7575 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.5128, allocations: 68.72 kB / 0.7576 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5128, allocations: 0 / 0.7576 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/1.787, allocations: 6.51 MB / 0.7639 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/1.787, allocations: 238.9 kB / 0.7642 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/5.067, allocations: 0 / 0.7642 GB, free: 7.578 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)