Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_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.0009141/0.0009141, allocations: 101.7 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.0009223/0.0009222, allocations: 177.3 kB / 15.94 MB, free: 220 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.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003515, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6472, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1458/0.793, allocations: 135.7 MB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.796, allocations: 1.676 MB / 1.088 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.7963, allocations: 11.94 kB / 1.088 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.797, allocations: 179.2 kB / 1.088 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.7985, allocations: 0.4985 MB / 1.088 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.7997, allocations: 414.6 kB / 1.089 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.8016, allocations: 1.508 MB / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.8044, allocations: 2.188 MB / 1.092 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.8064, allocations: 0.6929 MB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009206/0.8073, allocations: 489.9 kB / 1.094 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.39e-05/0.8074, allocations: 36 kB / 1.094 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.8086, allocations: 419.4 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.8089, allocations: 255.1 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.8092, allocations: 237.1 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.8103, allocations: 0.9859 MB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8103, allocations: 0 / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.059e-06/0.8104, allocations: 0 / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.8104, allocations: 0 / 1.095 GB, free: 14.5 MB / 0.8575 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.002489/0.8129, allocations: 1.315 MB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.8129, allocations: 12.03 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.8131, allocations: 94.52 kB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/0.8139, allocations: 182.5 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.8157, allocations: 0.804 MB / 1.098 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.8157, allocations: 48.94 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.8158, allocations: 63.98 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.817, allocations: 0.8239 MB / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8171, allocations: 0 / 1.099 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.8171, allocations: 24 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.8171, allocations: 12 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009236/0.8181, allocations: 0.5735 MB / 1.099 GB, free: 10.35 MB / 0.8575 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.004222/0.8223, allocations: 4.254 MB / 1.103 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.8231, allocations: 468.8 kB / 1.104 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.8232, allocations: 15.97 kB / 1.104 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.8237, allocations: 324 kB / 1.104 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002891/0.824, allocations: 39.59 kB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.824, allocations: 0 / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.005032/0.8291, allocations: 1.678 MB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.8292, allocations: 110.9 kB / 1.106 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.8308, allocations: 1.15 MB / 1.107 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.8309, allocations: 37.7 kB / 1.107 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.8314, allocations: 484.4 kB / 1.108 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.8315, allocations: 114.4 kB / 1.108 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.8315, allocations: 16 kB / 1.108 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8317, allocations: 326 kB / 1.108 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.832, allocations: 205 kB / 1.108 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.8326, allocations: 0.515 MB / 1.109 GB, free: 148 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.8331, allocations: 313.6 kB / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8331, allocations: 4 kB / 1.109 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002275/0.8354, allocations: 1.046 MB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007057/0.8361, allocations: 2.141 MB / 1.112 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.8361, allocations: 8 kB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.8374, allocations: 341.6 kB / 1.113 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.8378, allocations: 103.8 kB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.8389, allocations: 1.045 MB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.8399, allocations: 91.77 kB / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.84, allocations: 24 kB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.84, allocations: 4 kB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.8415, allocations: 0.7947 MB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8415, allocations: 8.625 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.8421, allocations: 250.1 kB / 1.115 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.8425, allocations: 95.86 kB / 1.115 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.8465, allocations: 3.114 MB / 1.118 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.8475, allocations: 87.81 kB / 1.118 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.8476, allocations: 20 kB / 1.118 GB, free: 6.324 MB / 0.8731 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.0006006/0.8482, allocations: 476.7 kB / 1.118 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.8485, allocations: 106.7 kB / 1.119 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.8499, allocations: 0.7694 MB / 1.119 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.8499, allocations: 4 kB / 1.119 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8499, allocations: 0 / 1.119 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.8499, allocations: 3.984 kB / 1.119 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.8518, allocations: 1.158 MB / 1.12 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8518, allocations: 4 kB / 1.12 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.8521, allocations: 51.95 kB / 1.12 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.8526, allocations: 254.3 kB / 1.121 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.8526, allocations: 8 kB / 1.121 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.8535, allocations: 0.9972 MB / 1.122 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8535, allocations: 7.938 kB / 1.122 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.8549, allocations: 0.9202 MB / 1.123 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.8553, allocations: 231.8 kB / 1.123 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.8555, allocations: 8 kB / 1.123 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.8562, allocations: 67.77 kB / 1.123 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/0.8563, allocations: 35.89 kB / 1.123 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.8564, allocations: 12 kB / 1.123 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001034/0.8574, allocations: 0.8119 MB / 1.124 GB, free: 192 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8574, allocations: 0 / 1.124 GB, free: 192 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001327/0.8587, allocations: 475.5 kB / 1.124 GB, free: 15.72 MB / 0.8887 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.001792/0.8605, allocations: 1.924 MB / 1.126 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.8627, allocations: 1.127 MB / 1.127 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8627, allocations: 4 kB / 1.127 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.8632, allocations: 259.1 kB / 1.127 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.8664, allocations: 0.6278 MB / 1.128 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.8799, allocations: 10.11 MB / 1.138 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.8806, allocations: 1.205 MB / 1.139 GB, free: 0 / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00107/0.8817, allocations: 344.1 kB / 1.139 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.8821, allocations: 323.3 kB / 1.14 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of SimCode: time 1.052e-06/0.8821, allocations: 0 / 1.14 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.9319, allocations: 30.67 MB / 1.17 GB, free: 1.152 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/0.9323, allocations: 274 kB / 1.17 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.145, allocations: 2.969 kB / 1.17 GB, free: 0.8008 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat