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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001023/0.001023, allocations: 176.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009403/0.0009405, allocations: 87.72 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.32e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2633, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.525, allocations: 1.869 GB / 3.082 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/5.525, allocations: 89.31 kB / 3.082 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.37/11.89, allocations: 1.802 GB / 4.884 GB, free: 346.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/11.89, allocations: 0 / 4.884 GB, free: 346.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001601/11.9, allocations: 29.73 kB / 4.884 GB, free: 346.8 MB / 1.151 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.004067/11.9, allocations: 1.23 MB / 4.885 GB, free: 346.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/11.9, allocations: 11.06 kB / 4.885 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002789/11.9, allocations: 102.5 kB / 4.885 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/11.9, allocations: 186.8 kB / 4.886 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/11.9, allocations: 1.377 MB / 4.887 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/11.9, allocations: 44.09 kB / 4.887 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/11.9, allocations: 61.03 kB / 4.887 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/11.91, allocations: 0.7647 MB / 4.888 GB, free: 345 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/11.91, allocations: 3.938 kB / 4.888 GB, free: 345 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/11.91, allocations: 27.56 kB / 4.888 GB, free: 344.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/11.91, allocations: 11.47 kB / 4.888 GB, free: 344.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/11.91, allocations: 0.4992 MB / 4.888 GB, free: 344.8 MB / 1.151 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.003212/11.91, allocations: 4.213 MB / 4.893 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/11.91, allocations: 398.3 kB / 4.893 GB, free: 341.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/11.91, allocations: 319.8 kB / 4.893 GB, free: 341.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/11.91, allocations: 191.9 kB / 4.893 GB, free: 341.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/11.91, allocations: 295.8 kB / 4.894 GB, free: 340.9 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003816/11.91, allocations: 35.27 kB / 4.894 GB, free: 340.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/11.91, allocations: 3.797 kB / 4.894 GB, free: 340.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001409/11.91, allocations: 0.7308 MB / 4.894 GB, free: 340.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/11.91, allocations: 80.77 kB / 4.894 GB, free: 340.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/11.91, allocations: 1.005 MB / 4.895 GB, free: 340.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/11.91, allocations: 37.64 kB / 4.895 GB, free: 340 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/11.91, allocations: 497 kB / 4.896 GB, free: 339.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/11.91, allocations: 117.1 kB / 4.896 GB, free: 339.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/11.91, allocations: 7.938 kB / 4.896 GB, free: 339.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/11.91, allocations: 328.5 kB / 4.896 GB, free: 339.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/11.91, allocations: 184.4 kB / 4.897 GB, free: 339.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/11.92, allocations: 0.5021 MB / 4.897 GB, free: 338.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/11.92, allocations: 294 kB / 4.897 GB, free: 338.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/11.92, allocations: 3.875 kB / 4.897 GB, free: 338.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001244/11.92, allocations: 0.9124 MB / 4.898 GB, free: 338 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/11.92, allocations: 2.134 MB / 4.9 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/11.92, allocations: 3.312 kB / 4.9 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/11.92, allocations: 255.9 kB / 4.901 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/11.92, allocations: 71.81 kB / 4.901 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008035/11.92, allocations: 1.021 MB / 4.902 GB, free: 334.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/11.92, allocations: 94.16 kB / 4.902 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/11.92, allocations: 25.42 kB / 4.902 GB, free: 334.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/11.92, allocations: 5.156 kB / 4.902 GB, free: 334.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/11.92, allocations: 0.7307 MB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/11.92, allocations: 7.188 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/11.92, allocations: 242.2 kB / 4.903 GB, free: 334.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/11.92, allocations: 70.97 kB / 4.903 GB, free: 334.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/11.92, allocations: 2.993 MB / 4.906 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/11.93, allocations: 92.75 kB / 4.906 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/11.93, allocations: 21.31 kB / 4.906 GB, free: 332 MB / 1.151 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.0001437/11.93, allocations: 145.2 kB / 4.906 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/11.93, allocations: 99.53 kB / 4.906 GB, free: 331.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/11.93, allocations: 0.7342 MB / 4.907 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/11.93, allocations: 7.25 kB / 4.907 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/11.93, allocations: 11.88 kB / 4.907 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/11.93, allocations: 3.688 kB / 4.907 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/11.93, allocations: 1.675 MB / 4.908 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/11.93, allocations: 0 / 4.908 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/11.93, allocations: 37.5 kB / 4.908 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/11.93, allocations: 243.3 kB / 4.909 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/11.93, allocations: 10.44 kB / 4.909 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006907/11.93, allocations: 0.992 MB / 4.91 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/11.93, allocations: 7.688 kB / 4.91 GB, free: 329.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009612/11.93, allocations: 0.949 MB / 4.911 GB, free: 328.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/11.93, allocations: 225.5 kB / 4.911 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/11.93, allocations: 11.53 kB / 4.911 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/11.93, allocations: 70.72 kB / 4.911 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/11.93, allocations: 34.02 kB / 4.911 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/11.93, allocations: 10.67 kB / 4.911 GB, free: 328.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009551/11.93, allocations: 0.7973 MB / 4.912 GB, free: 328 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/11.93, allocations: 0 / 4.912 GB, free: 328 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00149/11.94, allocations: 0.5408 MB / 4.912 GB, free: 327.9 MB / 1.151 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.002119/11.94, allocations: 2.679 MB / 4.915 GB, free: 326.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001395/11.94, allocations: 1.068 MB / 4.916 GB, free: 325.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/11.94, allocations: 3.969 kB / 4.916 GB, free: 325.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/11.94, allocations: 227.6 kB / 4.916 GB, free: 325.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/11.94, allocations: 0.625 MB / 4.917 GB, free: 325.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/11.94, allocations: 1.692 MB / 4.918 GB, free: 324.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/11.95, allocations: 1.205 MB / 4.92 GB, free: 323.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001683/11.95, allocations: 0.7074 MB / 4.92 GB, free: 322.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/11.95, allocations: 310.6 kB / 4.921 GB, free: 322.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.22e-07/11.95, allocations: 2.906 kB / 4.921 GB, free: 322.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06512/12.01, allocations: 48.08 MB / 4.968 GB, free: 274.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/12.01, allocations: 244.8 kB / 4.968 GB, free: 274.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/15.43, allocations: 0 / 4.968 GB, free: 274.5 MB / 1.151 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