Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.001293/0.001293, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001856/0.001856, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.545/2.545, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.74/1.74, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005393, allocations: 8.75 kB / 0.5069 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3108, allocations: 82.31 MB / 0.5873 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.8268/1.138, allocations: 135.7 MB / 0.7198 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006503/1.144, allocations: 1.664 MB / 0.7214 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/1.145, allocations: 9.125 kB / 0.7214 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/1.146, allocations: 181.7 kB / 0.7216 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/1.15, allocations: 0.4983 MB / 0.7221 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/1.153, allocations: 409.8 kB / 0.7225 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004645/1.158, allocations: 1.487 MB / 0.7239 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/1.16, allocations: 0.7079 MB / 0.7246 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/1.163, allocations: 0.6961 MB / 0.7253 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/1.165, allocations: 496 kB / 0.7258 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003331/1.165, allocations: 33.66 kB / 0.7258 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/1.168, allocations: 416.1 kB / 0.7262 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007296/1.169, allocations: 255.9 kB / 0.7264 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008925/1.169, allocations: 231.9 kB / 0.7267 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/1.172, allocations: 0.9741 MB / 0.7276 GB, free: 7.961 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.172, allocations: 0 / 0.7276 GB, free: 7.961 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.797e-06/1.172, allocations: 0 / 0.7276 GB, free: 7.961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.061e-05/1.172, allocations: 4 kB / 0.7276 GB, free: 7.957 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005312/1.178, allocations: 1.284 MB / 0.7289 GB, free: 7.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.178, allocations: 9.609 kB / 0.7289 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004871/1.178, allocations: 92.06 kB / 0.729 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.18, allocations: 184.3 kB / 0.7292 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/1.184, allocations: 0.8035 MB / 0.7299 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.184, allocations: 46.61 kB / 0.73 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/1.184, allocations: 58.58 kB / 0.73 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/1.187, allocations: 0.7859 MB / 0.7308 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/1.187, allocations: 6.625 kB / 0.7308 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.187, allocations: 22.48 kB / 0.7308 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/1.187, allocations: 15.22 kB / 0.7308 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/1.189, allocations: 0.5426 MB / 0.7314 GB, free: 5.867 MB / 0.545 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.009342/1.199, allocations: 4.606 MB / 0.7359 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.2, allocations: 433.1 kB / 0.7363 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.2, allocations: 19.17 kB / 0.7363 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009538/1.201, allocations: 301.1 kB / 0.7366 GB, free: 1.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 8.656e-06/1.201, allocations: 2.656 kB / 0.7366 GB, free: 1.699 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00283/1.204, allocations: 0.6455 MB / 0.7372 GB, free: 1.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.204, allocations: 119.2 kB / 0.7373 GB, free: 1.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/1.208, allocations: 1.108 MB / 0.7384 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.208, allocations: 41.7 kB / 0.7385 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/1.209, allocations: 489.3 kB / 0.7389 GB, free: 88 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/1.209, allocations: 114 kB / 0.739 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/1.209, allocations: 4 kB / 0.739 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.21, allocations: 325.9 kB / 0.7394 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/1.21, allocations: 186 kB / 0.7395 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.212, allocations: 0.4939 MB / 0.74 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/1.212, allocations: 299.9 kB / 0.7403 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/1.212, allocations: 0 / 0.7403 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002381/1.215, allocations: 0.6803 MB / 0.741 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001867/1.217, allocations: 2.139 MB / 0.743 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.217, allocations: 4 kB / 0.7431 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.094e-05/1.217, allocations: 8 kB / 0.7431 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/1.22, allocations: 380.5 kB / 0.7434 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0064/1.227, allocations: 6.087 MB / 0.7494 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.229, allocations: 107.5 kB / 0.7495 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/1.229, allocations: 27.98 kB / 0.7495 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.229, allocations: 4 kB / 0.7495 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/1.232, allocations: 0.5496 MB / 0.75 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.232, allocations: 7.984 kB / 0.75 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.232, allocations: 8 kB / 0.7501 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.233, allocations: 160 kB / 0.7502 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/1.233, allocations: 8 kB / 0.7502 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.235, allocations: 103.5 kB / 0.7503 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.235, allocations: 20 kB / 0.7503 GB, free: 4.199 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.236, allocations: 468.7 kB / 0.7508 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/1.237, allocations: 106.7 kB / 0.7509 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/1.238, allocations: 485.7 kB / 0.7513 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.239, allocations: 4 kB / 0.7513 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.239, allocations: 0.875 kB / 0.7513 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/1.239, allocations: 0 / 0.7513 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/1.243, allocations: 1.102 MB / 0.7524 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.243, allocations: 0 / 0.7524 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.244, allocations: 162.7 kB / 0.7526 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/1.244, allocations: 0 / 0.7526 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/1.244, allocations: 12 kB / 0.7526 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/1.251, allocations: 6.021 MB / 0.7585 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.251, allocations: 0 / 0.7585 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/1.253, allocations: 0.6292 MB / 0.7591 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.254, allocations: 231.7 kB / 0.7593 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/1.254, allocations: 8 kB / 0.7593 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.256, allocations: 51.86 kB / 0.7594 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.256, allocations: 31.89 kB / 0.7594 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/1.256, allocations: 16 kB / 0.7594 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002564/1.259, allocations: 0.7836 MB / 0.7602 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.11e-07/1.259, allocations: 0 / 0.7602 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00301/1.262, allocations: 411.4 kB / 0.7606 GB, free: 9.285 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003412/1.265, allocations: 1.738 MB / 0.7623 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005441/1.271, allocations: 1.096 MB / 0.7633 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.271, allocations: 0 / 0.7633 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.272, allocations: 299.7 kB / 0.7636 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/1.276, allocations: 454.8 kB / 0.7641 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.305, allocations: 9.61 MB / 0.7734 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/1.307, allocations: 1.208 MB / 0.7746 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002161/1.309, allocations: 371.5 kB / 0.775 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.31, allocations: 311.3 kB / 0.7753 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of SimCode: time 3.247e-06/1.31, allocations: 0 / 0.7753 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/1.426, allocations: 26.36 MB / 0.801 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004686/1.426, allocations: 249.5 kB / 0.8012 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.638/6.064, allocations: 4.062 kB / 0.8013 GB, free: 15.5 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: