Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.001519, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 91.94 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.538e-05/5.542e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/5.755, allocations: 1.87 GB / 3.089 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/5.755, allocations: 87.48 kB / 3.089 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.416/12.17, allocations: 1.802 GB / 4.891 GB, free: 355.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/12.17, allocations: 0 / 4.891 GB, free: 355.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001398/12.17, allocations: 28.91 kB / 4.891 GB, free: 355.1 MB / 1.167 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.003931/12.18, allocations: 1.233 MB / 4.893 GB, free: 354.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/12.18, allocations: 9.406 kB / 4.893 GB, free: 354.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/12.18, allocations: 92.47 kB / 4.893 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/12.18, allocations: 191.2 kB / 4.893 GB, free: 354.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/12.18, allocations: 1.375 MB / 4.894 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/12.18, allocations: 42.06 kB / 4.894 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/12.18, allocations: 62.5 kB / 4.894 GB, free: 354.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/12.18, allocations: 0.7684 MB / 4.895 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/12.18, allocations: 3.375 kB / 4.895 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/12.18, allocations: 27.64 kB / 4.895 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/12.18, allocations: 21.64 kB / 4.895 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/12.18, allocations: 0.4904 MB / 4.896 GB, free: 353.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004026/12.19, allocations: 4.207 MB / 4.9 GB, free: 351.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/12.19, allocations: 406.2 kB / 4.9 GB, free: 351 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/12.19, allocations: 322.8 kB / 4.9 GB, free: 351 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/12.19, allocations: 196.1 kB / 4.901 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/12.19, allocations: 300.9 kB / 4.901 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000279/12.19, allocations: 32.5 kB / 4.901 GB, free: 350.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/12.19, allocations: 0 / 4.901 GB, free: 350.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001392/12.19, allocations: 0.7259 MB / 4.902 GB, free: 350.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/12.19, allocations: 83.86 kB / 4.902 GB, free: 350.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/12.19, allocations: 1.004 MB / 4.903 GB, free: 350.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/12.19, allocations: 39.61 kB / 4.903 GB, free: 350.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/12.19, allocations: 487.5 kB / 4.903 GB, free: 350.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/12.19, allocations: 112.5 kB / 4.903 GB, free: 350.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/12.19, allocations: 6.625 kB / 4.903 GB, free: 350.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/12.19, allocations: 329.1 kB / 4.904 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/12.19, allocations: 180.1 kB / 4.904 GB, free: 349.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/12.19, allocations: 0.5044 MB / 4.904 GB, free: 349.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/12.19, allocations: 290.4 kB / 4.904 GB, free: 349.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/12.19, allocations: 3.875 kB / 4.904 GB, free: 349.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001348/12.19, allocations: 0.9274 MB / 4.905 GB, free: 349.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006086/12.2, allocations: 2.132 MB / 4.907 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/12.2, allocations: 10.98 kB / 4.907 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/12.2, allocations: 246.3 kB / 4.908 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/12.2, allocations: 73.84 kB / 4.908 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/12.2, allocations: 1.029 MB / 4.909 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/12.2, allocations: 87.03 kB / 4.909 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/12.2, allocations: 37.98 kB / 4.909 GB, free: 346.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/12.2, allocations: 3.938 kB / 4.909 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/12.2, allocations: 0.7211 MB / 4.91 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/12.2, allocations: 7 kB / 4.91 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/12.2, allocations: 244 kB / 4.91 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/12.2, allocations: 65.48 kB / 4.91 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/12.2, allocations: 2.99 MB / 4.913 GB, free: 345 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/12.2, allocations: 88.02 kB / 4.913 GB, free: 345 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/12.2, allocations: 33.95 kB / 4.913 GB, free: 345 MB / 1.167 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 () * 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.0001743/12.21, allocations: 134.5 kB / 4.913 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/12.21, allocations: 100.6 kB / 4.913 GB, free: 344.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/12.21, allocations: 0.7372 MB / 4.914 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/12.21, allocations: 3.906 kB / 4.914 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/12.21, allocations: 7.859 kB / 4.914 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/12.21, allocations: 3.891 kB / 4.914 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/12.21, allocations: 1.691 MB / 4.916 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/12.21, allocations: 3.844 kB / 4.916 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/12.21, allocations: 33.22 kB / 4.916 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/12.21, allocations: 241.3 kB / 4.916 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/12.21, allocations: 11.69 kB / 4.916 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/12.21, allocations: 0.996 MB / 4.917 GB, free: 343.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/12.21, allocations: 3.938 kB / 4.917 GB, free: 343.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/12.21, allocations: 0.9444 MB / 4.918 GB, free: 342.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/12.21, allocations: 225.5 kB / 4.918 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/12.21, allocations: 10.56 kB / 4.918 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/12.21, allocations: 68.81 kB / 4.918 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/12.21, allocations: 29.39 kB / 4.918 GB, free: 342.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/12.21, allocations: 18.8 kB / 4.918 GB, free: 342.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00109/12.21, allocations: 0.7978 MB / 4.919 GB, free: 342 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/12.21, allocations: 0 / 4.919 GB, free: 342 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001996/12.22, allocations: 0.5381 MB / 4.919 GB, free: 342 MB / 1.167 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) * 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.002983/12.22, allocations: 2.671 MB / 4.922 GB, free: 340.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001886/12.22, allocations: 1.077 MB / 4.923 GB, free: 339.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/12.22, allocations: 0 / 4.923 GB, free: 339.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/12.22, allocations: 220.7 kB / 4.923 GB, free: 339.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/12.23, allocations: 0.6303 MB / 4.924 GB, free: 339.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/12.23, allocations: 1.691 MB / 4.926 GB, free: 339 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/12.23, allocations: 1.209 MB / 4.927 GB, free: 338.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002139/12.23, allocations: 0.7082 MB / 4.927 GB, free: 338.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/12.23, allocations: 303.3 kB / 4.928 GB, free: 338 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/12.23, allocations: 0 / 4.928 GB, free: 338 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08967/12.32, allocations: 48.09 MB / 4.975 GB, free: 312.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/12.32, allocations: 251 kB / 4.975 GB, free: 312.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.506/15.83, allocations: 0 / 4.975 GB, free: 312.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat