Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.001588/0.001588, allocations: 95.33 kB / 15.68 MB, free: 488 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.002051/0.002051, allocations: 177 kB / 16.57 MB, free: 6.852 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.448/2.448, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.324/1.324, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005187, allocations: 8.781 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.9705/1.261, allocations: 135.7 MB / 0.6892 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006018/1.267, allocations: 1.681 MB / 0.6909 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/1.268, allocations: 7.938 kB / 0.6909 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/1.269, allocations: 179.1 kB / 0.691 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/1.272, allocations: 0.4986 MB / 0.6915 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/1.274, allocations: 411.9 kB / 0.6919 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003908/1.278, allocations: 1.514 MB / 0.6934 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005935/1.284, allocations: 2.177 MB / 0.6955 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/1.288, allocations: 0.7007 MB / 0.6962 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.29, allocations: 493.8 kB / 0.6967 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/1.29, allocations: 32 kB / 0.6967 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/1.293, allocations: 415.4 kB / 0.6971 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007076/1.294, allocations: 255.1 kB / 0.6974 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.295, allocations: 233.1 kB / 0.6976 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/1.298, allocations: 0.9829 MB / 0.6985 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.298, allocations: 0 / 0.6985 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 6.402e-06/1.298, allocations: 0 / 0.6985 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.358e-05/1.298, allocations: 0 / 0.6985 GB, free: 8.973 MB / 0.5137 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.004941/1.303, allocations: 1.32 MB / 0.6998 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001034/1.303, allocations: 12.02 kB / 0.6998 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/1.303, allocations: 94.52 kB / 0.6999 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.305, allocations: 186.5 kB / 0.7001 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/1.309, allocations: 0.7924 MB / 0.7009 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.309, allocations: 45 kB / 0.7009 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/1.309, allocations: 60 kB / 0.701 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/1.312, allocations: 0.8238 MB / 0.7018 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/1.312, allocations: 7.891 kB / 0.7018 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/1.312, allocations: 28 kB / 0.7018 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/1.312, allocations: 15.94 kB / 0.7018 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/1.313, allocations: 0.5696 MB / 0.7024 GB, free: 4.828 MB / 0.5137 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.009527/1.323, allocations: 4.27 MB / 0.7066 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.325, allocations: 454.3 kB / 0.707 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.325, allocations: 19.92 kB / 0.707 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/1.326, allocations: 324 kB / 0.7073 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001137/1.327, allocations: 27.69 kB / 0.7073 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 9.087e-06/1.327, allocations: 0 / 0.7073 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.01049/1.337, allocations: 1.69 MB / 0.709 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/1.338, allocations: 106.8 kB / 0.7091 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/1.342, allocations: 1.147 MB / 0.7102 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.342, allocations: 33.7 kB / 0.7103 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/1.343, allocations: 488.4 kB / 0.7107 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.343, allocations: 118.4 kB / 0.7108 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/1.343, allocations: 8 kB / 0.7108 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002782/1.344, allocations: 326 kB / 0.7112 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/1.344, allocations: 209 kB / 0.7114 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.346, allocations: 0.516 MB / 0.7119 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/1.347, allocations: 318 kB / 0.7122 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.347, allocations: 0 / 0.7122 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004642/1.351, allocations: 1.051 MB / 0.7132 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.002289/1.354, allocations: 2.134 MB / 0.7153 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.354, allocations: 8.109 kB / 0.7153 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/1.356, allocations: 355 kB / 0.7156 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008029/1.357, allocations: 99.8 kB / 0.7157 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.359, allocations: 1.048 MB / 0.7167 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.362, allocations: 87.91 kB / 0.7168 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/1.362, allocations: 27.98 kB / 0.7168 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.362, allocations: 4 kB / 0.7168 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002842/1.365, allocations: 0.7869 MB / 0.7176 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.365, allocations: 4 kB / 0.7176 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.366, allocations: 254.8 kB / 0.7179 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/1.367, allocations: 95.88 kB / 0.718 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007505/1.374, allocations: 3.106 MB / 0.721 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.376, allocations: 91.81 kB / 0.7211 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.377, allocations: 23.98 kB / 0.7211 GB, free: 0.7969 MB / 0.5294 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.001654/1.378, allocations: 468.7 kB / 0.7215 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/1.379, allocations: 98.78 kB / 0.7216 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.381, allocations: 0.7643 MB / 0.7224 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.381, allocations: 7.938 kB / 0.7224 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.381, allocations: 0 / 0.7224 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/1.382, allocations: 11.98 kB / 0.7224 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.385, allocations: 1.15 MB / 0.7235 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.385, allocations: 4.219 kB / 0.7235 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/1.385, allocations: 63.88 kB / 0.7236 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/1.386, allocations: 244.8 kB / 0.7238 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/1.386, allocations: 12.19 kB / 0.7238 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/1.388, allocations: 1.014 MB / 0.7248 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.388, allocations: 4.031 kB / 0.7248 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.39, allocations: 0.9115 MB / 0.7257 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009532/1.391, allocations: 227.7 kB / 0.7259 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.392, allocations: 12 kB / 0.7259 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.393, allocations: 63.77 kB / 0.726 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.393, allocations: 35.91 kB / 0.726 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/1.393, allocations: 12 kB / 0.7261 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002105/1.395, allocations: 0.8119 MB / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/1.395, allocations: 0 / 0.7268 GB, free: 10.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005126/1.4, allocations: 471.5 kB / 0.7273 GB, free: 10.21 MB / 0.545 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003738/1.404, allocations: 1.94 MB / 0.7292 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003878/1.408, allocations: 1.131 MB / 0.7303 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.408, allocations: 0 / 0.7303 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/1.409, allocations: 250.5 kB / 0.7305 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005975/1.415, allocations: 0.6308 MB / 0.7312 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/1.443, allocations: 10.11 MB / 0.741 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.444, allocations: 1.205 MB / 0.7422 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002008/1.446, allocations: 344.1 kB / 0.7425 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/1.447, allocations: 323.3 kB / 0.7428 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of SimCode: time 2.134e-06/1.447, allocations: 3.938 kB / 0.7428 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.555, allocations: 30.66 MB / 0.7728 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003974/1.556, allocations: 269.9 kB / 0.773 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/5.85, allocations: 0 / 0.773 GB, free: 11.3 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: