Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.001336/0.001336, allocations: 99.62 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.001616/0.001617, 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 1.467/1.467, 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/BuildSysPro 3.5.0-master/package.mo): time 1.028/1.028, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1854, allocations: 83.41 MB / 0.5974 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.49/0.6755, allocations: 135.7 MB / 0.7299 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.6805, allocations: 3.118 MB / 0.7329 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.6809, allocations: 10.25 kB / 0.7329 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.6816, allocations: 181.5 kB / 0.7331 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.6832, allocations: 0.4986 MB / 0.7336 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.6847, allocations: 443.5 kB / 0.734 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.6868, allocations: 1.507 MB / 0.7355 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.6879, allocations: 0.71 MB / 0.7362 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.6892, allocations: 0.7062 MB / 0.7369 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.6899, allocations: 487.1 kB / 0.7374 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.69, allocations: 32 kB / 0.7374 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.6914, allocations: 411.3 kB / 0.7378 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.6918, allocations: 261.2 kB / 0.738 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.6921, allocations: 237.1 kB / 0.7382 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.6937, allocations: 1.009 MB / 0.7392 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6938, allocations: 0 / 0.7392 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6938, allocations: 0 / 0.7392 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.6938, allocations: 0 / 0.7392 GB, free: 9.828 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002658/0.6965, allocations: 1.291 MB / 0.7405 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6965, allocations: 8.031 kB / 0.7405 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.6966, allocations: 94.75 kB / 0.7406 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/0.6974, allocations: 190.8 kB / 0.7408 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.6991, allocations: 0.7945 MB / 0.7415 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.6992, allocations: 45.75 kB / 0.7416 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.6993, allocations: 60.84 kB / 0.7417 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.7005, allocations: 0.7889 MB / 0.7424 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.7006, allocations: 0 / 0.7424 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.7006, allocations: 24.94 kB / 0.7424 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.7006, allocations: 12 kB / 0.7425 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009595/0.7016, allocations: 0.5433 MB / 0.743 GB, free: 6.32 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.004496/0.7061, allocations: 4.613 MB / 0.7475 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.7069, allocations: 436.3 kB / 0.7479 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.707, allocations: 15.97 kB / 0.7479 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/0.7075, allocations: 304.9 kB / 0.7482 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.637e-06/0.7075, allocations: 0 / 0.7482 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.003877/0.7114, allocations: 1.339 MB / 0.7495 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.7114, allocations: 114.7 kB / 0.7496 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.7129, allocations: 1.11 MB / 0.7507 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.713, allocations: 37.7 kB / 0.7508 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.7135, allocations: 496.2 kB / 0.7512 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.7136, allocations: 106.5 kB / 0.7513 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.7137, allocations: 4 kB / 0.7513 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7138, allocations: 330 kB / 0.7516 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.7142, allocations: 184.7 kB / 0.7518 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.7148, allocations: 0.494 MB / 0.7523 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.7153, allocations: 296.5 kB / 0.7526 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7153, allocations: 7.938 kB / 0.7526 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002208/0.7176, allocations: 0.986 MB / 0.7536 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.7189, allocations: 2.132 MB / 0.7556 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7189, allocations: 4 kB / 0.7556 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.7203, allocations: 346.2 kB / 0.756 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.7205, allocations: 63.84 kB / 0.756 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.7217, allocations: 1.013 MB / 0.757 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009151/0.7226, allocations: 111.4 kB / 0.7571 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.7227, allocations: 27.94 kB / 0.7572 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7227, allocations: 4 kB / 0.7572 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/0.7242, allocations: 0.7431 MB / 0.7579 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7242, allocations: 4.625 kB / 0.7579 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.7248, allocations: 218.5 kB / 0.7581 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.725, allocations: 59.91 kB / 0.7582 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003803/0.7288, allocations: 3.174 MB / 0.7613 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.7297, allocations: 99.61 kB / 0.7613 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.7297, allocations: 20 kB / 0.7614 GB, free: 2.895 MB / 0.5762 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006884/0.7304, allocations: 477.8 kB / 0.7618 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7306, allocations: 98.78 kB / 0.7619 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.7318, allocations: 0.6977 MB / 0.7626 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.7318, allocations: 7.984 kB / 0.7626 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7318, allocations: 4 kB / 0.7626 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7318, allocations: 0 / 0.7626 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.7334, allocations: 1.103 MB / 0.7637 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7334, allocations: 0 / 0.7637 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.7335, allocations: 23.98 kB / 0.7637 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/0.734, allocations: 232.6 kB / 0.7639 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.7341, allocations: 8 kB / 0.7639 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/0.735, allocations: 0.9754 MB / 0.7649 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.735, allocations: 11.95 kB / 0.7649 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.7362, allocations: 0.856 MB / 0.7657 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.7367, allocations: 227.8 kB / 0.766 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.7368, allocations: 12 kB / 0.766 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.7372, allocations: 51.8 kB / 0.766 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.7373, allocations: 35.98 kB / 0.7661 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.7374, allocations: 11.98 kB / 0.7661 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001013/0.7384, allocations: 0.7877 MB / 0.7668 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7384, allocations: 0 / 0.7668 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001255/0.7397, allocations: 451.4 kB / 0.7673 GB, free: 12.61 MB / 0.5919 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001885/0.7416, allocations: 1.856 MB / 0.7691 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.7435, allocations: 1.058 MB / 0.7701 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7435, allocations: 4.062 kB / 0.7701 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.744, allocations: 230.5 kB / 0.7703 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.7459, allocations: 465.9 kB / 0.7708 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.7605, allocations: 9.883 MB / 0.7804 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.7613, allocations: 1.204 MB / 0.7816 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009868/0.7623, allocations: 319.6 kB / 0.7819 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.7627, allocations: 309 kB / 0.7822 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.7627, allocations: 0 / 0.7822 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.8125, allocations: 28.05 MB / 0.8096 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.8128, allocations: 288.6 kB / 0.8099 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.09, allocations: 2.812 kB / 0.8099 GB, free: 0.9258 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: