Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IDEAS_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.01289/0.01289, allocations: 103 kB / 15.73 MB, free: 6.035 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.003334/0.003335, allocations: 190 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.338/2.338, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.298/1.298, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 67.89 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7191, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.3431/1.062, allocations: 161.6 MB / 0.817 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007684/1.07, allocations: 3.61 MB / 0.8205 GB, free: 384 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/1.071, allocations: 7.938 kB / 0.8205 GB, free: 376 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/1.072, allocations: 166.9 kB / 0.8207 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/1.074, allocations: 0.5249 MB / 0.8212 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/1.076, allocations: 443.1 kB / 0.8216 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004537/1.08, allocations: 2.542 MB / 0.8241 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/1.082, allocations: 0.9371 MB / 0.825 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/1.086, allocations: 1.047 MB / 0.8261 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/1.088, allocations: 0.7 MB / 0.8267 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/1.088, allocations: 56 kB / 0.8268 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/1.091, allocations: 0.7445 MB / 0.8275 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008822/1.092, allocations: 306.9 kB / 0.8278 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00177/1.094, allocations: 0.5479 MB / 0.8284 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/1.098, allocations: 1.406 MB / 0.8297 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/1.098, allocations: 4 kB / 0.8297 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.886e-06/1.098, allocations: 4 kB / 0.8297 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.659e-05/1.098, allocations: 0 / 0.8297 GB, free: 6.922 MB / 0.6544 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.005244/1.104, allocations: 1.447 MB / 0.8311 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/1.104, allocations: 16.03 kB / 0.8312 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/1.104, allocations: 94.52 kB / 0.8312 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.105, allocations: 182.5 kB / 0.8314 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/1.108, allocations: 0.8491 MB / 0.8323 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/1.108, allocations: 41 kB / 0.8323 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/1.108, allocations: 67.94 kB / 0.8324 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/1.11, allocations: 0.7926 MB / 0.8331 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.11, allocations: 3.938 kB / 0.8331 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.11, allocations: 24 kB / 0.8332 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/1.11, allocations: 12 kB / 0.8332 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.112, allocations: 0.5383 MB / 0.8337 GB, free: 2.66 MB / 0.6544 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.008594/1.121, allocations: 4.591 MB / 0.8382 GB, free: 13.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/1.122, allocations: 418 kB / 0.8386 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/1.123, allocations: 245.5 kB / 0.8388 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/1.124, allocations: 194.2 kB / 0.839 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009222/1.125, allocations: 294.4 kB / 0.8393 GB, free: 12.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 5.129e-06/1.125, allocations: 4 kB / 0.8393 GB, free: 12.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.009906/1.134, allocations: 1.643 MB / 0.8409 GB, free: 10.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.135, allocations: 85.05 kB / 0.841 GB, free: 10.72 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/1.138, allocations: 1.122 MB / 0.8421 GB, free: 9.582 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/1.138, allocations: 37.7 kB / 0.8421 GB, free: 9.539 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/1.139, allocations: 484.2 kB / 0.8426 GB, free: 9.062 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/1.139, allocations: 114.5 kB / 0.8427 GB, free: 8.949 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/1.139, allocations: 117.8 kB / 0.8428 GB, free: 8.828 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.139, allocations: 326 kB / 0.8431 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/1.14, allocations: 214.4 kB / 0.8433 GB, free: 8.289 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.141, allocations: 0.5135 MB / 0.8438 GB, free: 7.641 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.142, allocations: 0.6292 MB / 0.8444 GB, free: 6.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.142, allocations: 0 / 0.8444 GB, free: 6.934 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002684/1.145, allocations: 1.03 MB / 0.8454 GB, free: 5.887 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/1.145, allocations: 41.69 kB / 0.8455 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.145, allocations: 8 kB / 0.8455 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.147, allocations: 387.2 kB / 0.8458 GB, free: 5.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/1.147, allocations: 63.84 kB / 0.8459 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/1.148, allocations: 1.082 MB / 0.847 GB, free: 4.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/1.149, allocations: 75.39 kB / 0.847 GB, free: 4.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/1.15, allocations: 27.94 kB / 0.8471 GB, free: 4.184 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000921/1.15, allocations: 0.5045 MB / 0.8475 GB, free: 3.676 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006465/1.151, allocations: 490 kB / 0.848 GB, free: 3.062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009194/1.152, allocations: 0.5569 MB / 0.8486 GB, free: 2.426 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.221e-06/1.152, allocations: 4 kB / 0.8486 GB, free: 2.422 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.002199/1.154, allocations: 0.8306 MB / 0.8494 GB, free: 1.574 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/1.154, allocations: 41.81 kB / 0.8494 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.154, allocations: 8 kB / 0.8494 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/1.155, allocations: 217.2 kB / 0.8496 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.155, allocations: 59.91 kB / 0.8497 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/1.16, allocations: 3.256 MB / 0.8529 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/1.161, allocations: 71.95 kB / 0.8529 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/1.161, allocations: 20 kB / 0.8529 GB, free: 13.75 MB / 0.6856 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002709/1.161, allocations: 220.1 kB / 0.8532 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/1.161, allocations: 102.7 kB / 0.8533 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/1.163, allocations: 0.7025 MB / 0.8539 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.163, allocations: 8 kB / 0.8539 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.163, allocations: 4 kB / 0.854 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.163, allocations: 0 / 0.854 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/1.165, allocations: 1.601 MB / 0.8555 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.165, allocations: 3.938 kB / 0.8555 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/1.166, allocations: 27.92 kB / 0.8555 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/1.166, allocations: 243.2 kB / 0.8558 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.166, allocations: 8 kB / 0.8558 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/1.167, allocations: 1.029 MB / 0.8568 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.167, allocations: 3.984 kB / 0.8568 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/1.169, allocations: 0.83 MB / 0.8576 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/1.169, allocations: 215.8 kB / 0.8578 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.169, allocations: 8 kB / 0.8578 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/1.17, allocations: 27.91 kB / 0.8578 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.17, allocations: 27.97 kB / 0.8579 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/1.17, allocations: 19.98 kB / 0.8579 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001197/1.171, allocations: 0.7877 MB / 0.8587 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.171, allocations: 3.938 kB / 0.8587 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001669/1.173, allocations: 435.4 kB / 0.8591 GB, free: 7.273 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/1.175, allocations: 1.374 MB / 0.8604 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003126/1.178, allocations: 1.203 MB / 0.8616 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.178, allocations: 0 / 0.8616 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/1.179, allocations: 287.7 kB / 0.8619 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.182, allocations: 457.7 kB / 0.8623 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5359/1.718, allocations: 8.812 MB / 0.8709 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.719, allocations: 1.187 MB / 0.8721 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001742/1.721, allocations: 317.6 kB / 0.8724 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/1.721, allocations: 308.9 kB / 0.8727 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.583e-06/1.721, allocations: 2.5 kB / 0.8727 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1952/1.917, allocations: 28.97 MB / 0.901 GB, free: 178 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.6/24.51, allocations: 23.12 kB / 0.901 GB, free: 178 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)