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.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.818/0.818, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.8 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3633/0.4889, allocations: 161.5 MB / 0.7422 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.4912, allocations: 1.704 MB / 0.7438 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.4913, allocations: 12.69 kB / 0.7439 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.4918, allocations: 164.2 kB / 0.744 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009087/0.4927, allocations: 0.5078 MB / 0.7445 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.4935, allocations: 408.2 kB / 0.7449 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.4941, allocations: 0.5738 MB / 0.7455 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.4944, allocations: 181.3 kB / 0.7456 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.4948, allocations: 315.8 kB / 0.7459 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.495, allocations: 149.2 kB / 0.7461 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.495, allocations: 12.38 kB / 0.7461 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008473/0.4959, allocations: 0.6927 MB / 0.7468 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.496, allocations: 74.36 kB / 0.7468 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.4961, allocations: 118.2 kB / 0.747 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.4967, allocations: 0.4998 MB / 0.7474 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.4967, allocations: 0 / 0.7474 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.113e-06/0.4967, allocations: 1.875 kB / 0.7474 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4967, allocations: 0 / 0.7474 GB, free: 4.125 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.000678/0.4974, allocations: 0.5824 MB / 0.748 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.4974, allocations: 7.781 kB / 0.748 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.4975, allocations: 47.8 kB / 0.7481 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.4978, allocations: 61.58 kB / 0.7481 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.498, allocations: 292.5 kB / 0.7484 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4981, allocations: 12.7 kB / 0.7484 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4981, allocations: 13.91 kB / 0.7484 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.4984, allocations: 199 kB / 0.7486 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4984, allocations: 0 / 0.7486 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4985, allocations: 4.562 kB / 0.7486 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4985, allocations: 5.438 kB / 0.7486 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.4987, allocations: 134.4 kB / 0.7488 GB, free: 3.008 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.0008358/0.4996, allocations: 0.7747 MB / 0.7495 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.4998, allocations: 86.19 kB / 0.7496 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.5, allocations: 87 kB / 0.7497 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.5002, allocations: 182.9 kB / 0.7498 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.5003, allocations: 41.23 kB / 0.7499 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.5003, allocations: 0 / 0.7499 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005724/0.5009, allocations: 223.8 kB / 0.7501 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.5009, allocations: 51.41 kB / 0.7502 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.5011, allocations: 266.5 kB / 0.7504 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5011, allocations: 32.52 kB / 0.7504 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.5012, allocations: 146 kB / 0.7506 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.5012, allocations: 32.58 kB / 0.7506 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.5013, allocations: 23.78 kB / 0.7506 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5014, allocations: 342.1 kB / 0.751 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5015, allocations: 42.58 kB / 0.751 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5017, allocations: 94.75 kB / 0.7511 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.5019, allocations: 124.1 kB / 0.7512 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5019, allocations: 0 / 0.7512 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000297/0.5022, allocations: 164.8 kB / 0.7514 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5022, allocations: 9.031 kB / 0.7514 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5022, allocations: 0 / 0.7514 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.5023, allocations: 7 kB / 0.7514 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.5024, allocations: 19.98 kB / 0.7514 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5024, allocations: 1.938 kB / 0.7514 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.5026, allocations: 24.12 kB / 0.7514 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5026, allocations: 5.281 kB / 0.7514 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001678/0.5027, allocations: 146.6 kB / 0.7516 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001347/0.5029, allocations: 99.17 kB / 0.7517 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002072/0.5031, allocations: 117.1 kB / 0.7518 GB, free: 460 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.5031, allocations: 0 / 0.7518 GB, free: 460 kB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002808/0.5034, allocations: 162 kB / 0.7519 GB, free: 360 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.72e-06/0.5034, allocations: 4.625 kB / 0.7519 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.5034, allocations: 0 / 0.7519 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.5034, allocations: 6.5 kB / 0.7519 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.5035, allocations: 19.83 kB / 0.752 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.5035, allocations: 6.719 kB / 0.752 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.5037, allocations: 23.89 kB / 0.752 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.5037, allocations: 5.125 kB / 0.752 GB, free: 332 kB / 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 8.235e-05/0.5038, allocations: 189.4 kB / 0.7522 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.5038, allocations: 25.88 kB / 0.7522 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.5042, allocations: 157.4 kB / 0.7523 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5042, allocations: 2.469 kB / 0.7523 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5042, allocations: 3.984 kB / 0.7524 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5042, allocations: 0 / 0.7524 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.5049, allocations: 0.5859 MB / 0.7529 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5049, allocations: 7 kB / 0.7529 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.505, allocations: 24.02 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5051, allocations: 2.625 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5051, allocations: 8.969 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5051, allocations: 2.406 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5051, allocations: 3.031 kB / 0.753 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.5054, allocations: 297 kB / 0.7533 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.5055, allocations: 114 kB / 0.7534 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5055, allocations: 14.48 kB / 0.7534 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5057, allocations: 19.55 kB / 0.7534 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.5058, allocations: 9.688 kB / 0.7534 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.5058, allocations: 16.39 kB / 0.7534 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000146/0.5059, allocations: 194.4 kB / 0.7536 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5059, allocations: 0 / 0.7536 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003903/0.5063, allocations: 92.22 kB / 0.7537 GB, free: 14.93 MB / 0.5762 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.0007244/0.5071, allocations: 0.8882 MB / 0.7546 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.5075, allocations: 168.1 kB / 0.7547 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5075, allocations: 0 / 0.7547 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5076, allocations: 67.97 kB / 0.7548 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.5083, allocations: 116.8 kB / 0.7549 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.5106, allocations: 2.353 MB / 0.7572 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.5109, allocations: 0.7558 MB / 0.7579 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000187/0.5111, allocations: 70.53 kB / 0.758 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.5111, allocations: 71.41 kB / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.5112, allocations: 0 / 0.7581 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.829/3.34, allocations: 6.836 MB / 0.7647 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.529/12.87, allocations: 3.984 kB / 0.7647 GB, free: 3.773 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)