Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001489/0.00149, allocations: 96.89 kB / 15.69 MB, free: 480 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.001664/0.001664, allocations: 176.3 kB / 16.57 MB, free: 6.395 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.518/2.518, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.28/1.28, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006763, allocations: 12 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3502, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.9775/1.328, allocations: 140.5 MB / 0.6939 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009159/1.337, allocations: 3.591 MB / 0.6974 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008568/1.338, allocations: 11.94 kB / 0.6974 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/1.339, allocations: 234.9 kB / 0.6976 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/1.343, allocations: 0.7011 MB / 0.6983 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/1.346, allocations: 493.5 kB / 0.6988 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003933/1.35, allocations: 1.646 MB / 0.7004 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004776/1.355, allocations: 2.32 MB / 0.7027 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/1.358, allocations: 0.8566 MB / 0.7035 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/1.359, allocations: 0.6069 MB / 0.7041 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/1.359, allocations: 48 kB / 0.7041 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/1.361, allocations: 459.3 kB / 0.7046 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/1.361, allocations: 307 kB / 0.7049 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004428/1.362, allocations: 249.1 kB / 0.7051 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/1.363, allocations: 1.127 MB / 0.7062 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.363, allocations: 0 / 0.7062 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.206e-06/1.363, allocations: 0 / 0.7062 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.042e-05/1.363, allocations: 4 kB / 0.7062 GB, free: 1.023 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004549/1.368, allocations: 1.5 MB / 0.7077 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/1.368, allocations: 12.02 kB / 0.7077 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/1.368, allocations: 98.52 kB / 0.7078 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/1.37, allocations: 198.4 kB / 0.708 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006406/1.376, allocations: 0.8803 MB / 0.7088 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/1.376, allocations: 49.3 kB / 0.7089 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/1.376, allocations: 64 kB / 0.7089 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/1.38, allocations: 0.9831 MB / 0.7099 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/1.38, allocations: 7.938 kB / 0.7099 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.38, allocations: 20 kB / 0.7099 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/1.38, allocations: 16 kB / 0.7099 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/1.383, allocations: 0.8038 MB / 0.7107 GB, free: 12.2 MB / 0.5294 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.01113/1.394, allocations: 4.813 MB / 0.7154 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/1.4, allocations: 4.026 MB / 0.7194 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/1.401, allocations: 16.27 kB / 0.7194 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/1.402, allocations: 338 kB / 0.7197 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001193/1.403, allocations: 27.69 kB / 0.7197 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 5.711e-06/1.403, allocations: 3.938 kB / 0.7197 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.01209/1.415, allocations: 1.691 MB / 0.7214 GB, free: 72 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/1.416, allocations: 114.8 kB / 0.7215 GB, free: 15.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/1.42, allocations: 1.181 MB / 0.7226 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.42, allocations: 33.7 kB / 0.7227 GB, free: 14.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000942/1.421, allocations: 0.5083 MB / 0.7232 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/1.421, allocations: 118.3 kB / 0.7233 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/1.421, allocations: 12 kB / 0.7233 GB, free: 14.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.421, allocations: 330 kB / 0.7236 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/1.422, allocations: 209 kB / 0.7238 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/1.424, allocations: 0.5293 MB / 0.7243 GB, free: 12.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/1.425, allocations: 325.8 kB / 0.7246 GB, free: 12.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.425, allocations: 0 / 0.7246 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004236/1.429, allocations: 1.08 MB / 0.7257 GB, free: 11.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001878/1.431, allocations: 2.144 MB / 0.7278 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/1.431, allocations: 8 kB / 0.7278 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/1.434, allocations: 443.6 kB / 0.7282 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/1.434, allocations: 75.89 kB / 0.7283 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/1.437, allocations: 1.124 MB / 0.7294 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.44, allocations: 99.73 kB / 0.7295 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.44, allocations: 24 kB / 0.7295 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.44, allocations: 4 kB / 0.7295 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00302/1.443, allocations: 0.8144 MB / 0.7303 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.443, allocations: 11.97 kB / 0.7303 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.444, allocations: 252.5 kB / 0.7305 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/1.445, allocations: 75.88 kB / 0.7306 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/1.453, allocations: 3.195 MB / 0.7337 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.456, allocations: 103.8 kB / 0.7338 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.456, allocations: 31.92 kB / 0.7339 GB, free: 2.727 MB / 0.545 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.002012/1.458, allocations: 472.7 kB / 0.7343 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/1.459, allocations: 106.7 kB / 0.7344 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/1.462, allocations: 0.799 MB / 0.7352 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.462, allocations: 8 kB / 0.7352 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.462, allocations: 0 / 0.7352 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.462, allocations: 4 kB / 0.7352 GB, free: 1.328 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 postOpt removeSimpleEquations (simulation): time 0.006602/1.469, allocations: 2.249 MB / 0.7374 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.469, allocations: 4 kB / 0.7374 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/1.469, allocations: 40.19 kB / 0.7375 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000909/1.47, allocations: 253.2 kB / 0.7377 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/1.47, allocations: 8 kB / 0.7377 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/1.472, allocations: 0.9379 MB / 0.7386 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.472, allocations: 4 kB / 0.7386 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/1.475, allocations: 0.9798 MB / 0.7396 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.476, allocations: 239.7 kB / 0.7398 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.476, allocations: 8 kB / 0.7398 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.478, allocations: 83.7 kB / 0.7399 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.478, allocations: 31.95 kB / 0.7399 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/1.478, allocations: 12 kB / 0.7399 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00203/1.48, allocations: 0.8328 MB / 0.7408 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.48, allocations: 0 / 0.7408 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002609/1.482, allocations: 0.4954 MB / 0.7412 GB, free: 10.89 MB / 0.5606 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 (22): * 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): 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003239/1.486, allocations: 1.968 MB / 0.7432 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004207/1.49, allocations: 1.283 MB / 0.7444 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.49, allocations: 0 / 0.7444 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/1.491, allocations: 320.2 kB / 0.7447 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.495, allocations: 0.6525 MB / 0.7454 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/1.516, allocations: 10.5 MB / 0.7556 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.517, allocations: 1.236 MB / 0.7568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00205/1.519, allocations: 332.6 kB / 0.7571 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/1.52, allocations: 359.3 kB / 0.7575 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/1.52, allocations: 4 kB / 0.7575 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.635, allocations: 31.23 MB / 0.788 GB, free: 11 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004681/1.636, allocations: 270 kB / 0.7882 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.35/5.986, allocations: 3.234 kB / 0.7882 GB, free: 10.65 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: