Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.001494/0.001494, allocations: 99.08 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.001645/0.001645, allocations: 177.3 kB / 15.95 MB, free: 216 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.61/2.61, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.809/1.809, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.000591, allocations: 8 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3061, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.9541/1.26, allocations: 135.7 MB / 0.7198 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006726/1.267, allocations: 3.111 MB / 0.7228 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/1.268, allocations: 8.031 kB / 0.7228 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/1.269, allocations: 177.3 kB / 0.723 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/1.271, allocations: 0.4993 MB / 0.7235 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/1.273, allocations: 454 kB / 0.7239 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002546/1.275, allocations: 1.493 MB / 0.7254 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.277, allocations: 0.7073 MB / 0.7261 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/1.279, allocations: 0.6993 MB / 0.7268 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/1.279, allocations: 498.1 kB / 0.7272 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/1.28, allocations: 34.12 kB / 0.7273 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/1.281, allocations: 410.9 kB / 0.7277 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/1.281, allocations: 261.8 kB / 0.7279 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004773/1.282, allocations: 235.2 kB / 0.7281 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/1.284, allocations: 0.9642 MB / 0.7291 GB, free: 7.008 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.284, allocations: 0 / 0.7291 GB, free: 7.008 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.777e-06/1.284, allocations: 4 kB / 0.7291 GB, free: 7.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.877e-05/1.284, allocations: 0 / 0.7291 GB, free: 7.004 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005249/1.289, allocations: 1.294 MB / 0.7303 GB, free: 6.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/1.289, allocations: 10.25 kB / 0.7304 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003459/1.29, allocations: 97.08 kB / 0.7304 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/1.291, allocations: 187.2 kB / 0.7306 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/1.294, allocations: 0.8048 MB / 0.7314 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/1.294, allocations: 42.81 kB / 0.7314 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.295, allocations: 57.91 kB / 0.7315 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.297, allocations: 0.7892 MB / 0.7323 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.297, allocations: 5.969 kB / 0.7323 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.795e-05/1.297, allocations: 22.42 kB / 0.7323 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/1.297, allocations: 13.16 kB / 0.7323 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/1.299, allocations: 0.5431 MB / 0.7328 GB, free: 4.898 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.008359/1.307, allocations: 4.608 MB / 0.7373 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.309, allocations: 446.3 kB / 0.7378 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/1.309, allocations: 15.08 kB / 0.7378 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000999/1.31, allocations: 303.1 kB / 0.7381 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 3.506e-06/1.31, allocations: 6.906 kB / 0.7381 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.01077/1.321, allocations: 1.64 MB / 0.7397 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/1.321, allocations: 114.8 kB / 0.7398 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/1.324, allocations: 1.114 MB / 0.7409 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/1.325, allocations: 37.7 kB / 0.7409 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/1.325, allocations: 0.4884 MB / 0.7414 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.326, allocations: 106.5 kB / 0.7415 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/1.326, allocations: 4 kB / 0.7415 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.326, allocations: 334 kB / 0.7418 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/1.327, allocations: 180.7 kB / 0.742 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/1.328, allocations: 0.494 MB / 0.7425 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/1.329, allocations: 302.8 kB / 0.7428 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/1.329, allocations: 4 kB / 0.7428 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004738/1.334, allocations: 0.9755 MB / 0.7437 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001762/1.335, allocations: 2.12 MB / 0.7458 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.336, allocations: 12 kB / 0.7458 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.338, allocations: 363 kB / 0.7461 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/1.339, allocations: 59.91 kB / 0.7462 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/1.342, allocations: 1.096 MB / 0.7473 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.344, allocations: 103.4 kB / 0.7474 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/1.344, allocations: 27.98 kB / 0.7474 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.344, allocations: 4 kB / 0.7474 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/1.347, allocations: 0.7304 MB / 0.7481 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.347, allocations: 11.94 kB / 0.7481 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.349, allocations: 224.8 kB / 0.7483 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/1.349, allocations: 67.89 kB / 0.7484 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.367, allocations: 3.103 MB / 0.7514 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.368, allocations: 95.67 kB / 0.7515 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/1.368, allocations: 20 kB / 0.7515 GB, free: 3.148 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.37, allocations: 472.7 kB / 0.752 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/1.37, allocations: 106.6 kB / 0.7521 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/1.373, allocations: 0.6914 MB / 0.7528 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.373, allocations: 4 kB / 0.7528 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.373, allocations: 8.188 kB / 0.7528 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.373, allocations: 3.984 kB / 0.7528 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/1.376, allocations: 1.099 MB / 0.7539 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.376, allocations: 224 / 0.7539 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/1.376, allocations: 31.98 kB / 0.7539 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.378, allocations: 256.1 kB / 0.7541 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/1.378, allocations: 12 kB / 0.7541 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.379, allocations: 1.029 MB / 0.7552 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.379, allocations: 0 / 0.7552 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/1.382, allocations: 0.8498 MB / 0.756 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/1.383, allocations: 219.8 kB / 0.7562 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.383, allocations: 11.95 kB / 0.7562 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/1.384, allocations: 63.78 kB / 0.7563 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.384, allocations: 31.89 kB / 0.7563 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.384, allocations: 12 kB / 0.7563 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002079/1.386, allocations: 0.7916 MB / 0.7571 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.386, allocations: 0 / 0.7571 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002722/1.389, allocations: 451.4 kB / 0.7575 GB, free: 12.8 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/1.393, allocations: 1.86 MB / 0.7593 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.397, allocations: 1.201 MB / 0.7605 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/1.397, allocations: 0 / 0.7605 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.398, allocations: 280.1 kB / 0.7608 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/1.402, allocations: 463.1 kB / 0.7612 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.429, allocations: 9.904 MB / 0.7709 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.43, allocations: 1.204 MB / 0.7721 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001973/1.432, allocations: 307.6 kB / 0.7723 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007372/1.433, allocations: 307.3 kB / 0.7726 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of SimCode: time 4.819e-06/1.433, allocations: 4 kB / 0.7726 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.565, allocations: 27.56 MB / 0.7996 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004953/1.566, allocations: 259.6 kB / 0.7998 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.54/6.105, allocations: 0 / 0.7998 GB, free: 1.352 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: