Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.289/2.289, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001426/0.001426, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.554/1.554, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 103.8 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.383e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/5.055, allocations: 1.871 GB / 3.077 GB, free: 9.383 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/5.055, allocations: 93.48 kB / 3.077 GB, free: 9.293 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.266/9.321, allocations: 1.078 GB / 4.155 GB, free: 273.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/9.321, allocations: 0 / 4.155 GB, free: 273.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001038/9.321, allocations: 39.92 kB / 4.155 GB, free: 273.6 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003766/9.325, allocations: 1.28 MB / 4.156 GB, free: 272.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/9.325, allocations: 8.031 kB / 4.156 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/9.326, allocations: 194.4 kB / 4.156 GB, free: 272 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/9.329, allocations: 1.449 MB / 4.158 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/9.329, allocations: 20 kB / 4.158 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/9.329, allocations: 40 kB / 4.158 GB, free: 270.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008923/9.33, allocations: 0.7014 MB / 4.158 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/9.331, allocations: 0.8492 MB / 4.159 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/9.331, allocations: 8 kB / 4.159 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/9.331, allocations: 7.922 kB / 4.159 GB, free: 268.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/9.331, allocations: 16 kB / 4.159 GB, free: 268.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.003478/9.334, allocations: 4.572 MB / 4.164 GB, free: 263.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/9.336, allocations: 4.029 MB / 4.168 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/9.336, allocations: 337.1 kB / 4.168 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/9.337, allocations: 198.2 kB / 4.168 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/9.337, allocations: 288.9 kB / 4.169 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003308/9.337, allocations: 15.75 kB / 4.169 GB, free: 258.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/9.337, allocations: 0 / 4.169 GB, free: 258.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001604/9.339, allocations: 0.8594 MB / 4.169 GB, free: 257.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/9.339, allocations: 85.09 kB / 4.169 GB, free: 257.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/9.34, allocations: 0.9067 MB / 4.17 GB, free: 256.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/9.34, allocations: 29.7 kB / 4.17 GB, free: 256.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/9.34, allocations: 0.5199 MB / 4.171 GB, free: 255.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/9.34, allocations: 130.1 kB / 4.171 GB, free: 255.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/9.34, allocations: 3.938 kB / 4.171 GB, free: 255.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/9.34, allocations: 322 kB / 4.171 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/9.341, allocations: 209 kB / 4.172 GB, free: 255.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/9.341, allocations: 0.5433 MB / 4.172 GB, free: 254.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/9.341, allocations: 289.3 kB / 4.172 GB, free: 254.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/9.341, allocations: 4 kB / 4.172 GB, free: 254.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001438/9.343, allocations: 0.9926 MB / 4.173 GB, free: 253.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004259/9.343, allocations: 2.22 MB / 4.175 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/9.343, allocations: 4 kB / 4.175 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/9.344, allocations: 284.3 kB / 4.176 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/9.344, allocations: 79.83 kB / 4.176 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/9.345, allocations: 1.22 MB / 4.177 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/9.346, allocations: 95.59 kB / 4.177 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/9.346, allocations: 31.98 kB / 4.177 GB, free: 248.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/9.346, allocations: 4.625 kB / 4.177 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/9.347, allocations: 0.6843 MB / 4.178 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/9.347, allocations: 4.047 kB / 4.178 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/9.348, allocations: 225.9 kB / 4.178 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/9.348, allocations: 71.89 kB / 4.178 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/9.351, allocations: 2.992 MB / 4.181 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/9.352, allocations: 87.75 kB / 4.181 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/9.352, allocations: 35.92 kB / 4.181 GB, free: 244.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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.0001551/9.353, allocations: 125.9 kB / 4.181 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008849/9.353, allocations: 0.6955 MB / 4.182 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/9.354, allocations: 114.6 kB / 4.182 GB, free: 243.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/9.355, allocations: 0.7421 MB / 4.183 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/9.355, allocations: 4 kB / 4.183 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/9.355, allocations: 7.938 kB / 4.183 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/9.355, allocations: 4 kB / 4.183 GB, free: 243 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 postOpt removeSimpleEquations (simulation): time 0.002282/9.357, allocations: 2.056 MB / 4.185 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/9.357, allocations: 4 kB / 4.185 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/9.357, allocations: 47.91 kB / 4.185 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/9.357, allocations: 196.9 kB / 4.185 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/9.358, allocations: 8 kB / 4.185 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006854/9.358, allocations: 0.95 MB / 4.186 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/9.358, allocations: 4 kB / 4.186 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008526/9.359, allocations: 0.9249 MB / 4.187 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/9.359, allocations: 227.7 kB / 4.187 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/9.36, allocations: 4 kB / 4.187 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/9.36, allocations: 79.75 kB / 4.187 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/9.36, allocations: 31.91 kB / 4.187 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/9.36, allocations: 20.05 kB / 4.187 GB, free: 238.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007081/9.361, allocations: 0.7025 MB / 4.188 GB, free: 237.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.361, allocations: 0 / 4.188 GB, free: 237.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001795/9.363, allocations: 0.5697 MB / 4.188 GB, free: 236.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 20 * 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.002438/9.365, allocations: 3.08 MB / 4.191 GB, free: 233.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002095/9.367, allocations: 1.218 MB / 4.193 GB, free: 232.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/9.367, allocations: 0 / 4.193 GB, free: 232.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/9.368, allocations: 296.4 kB / 4.193 GB, free: 232.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/9.371, allocations: 0.5892 MB / 4.194 GB, free: 231.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/9.373, allocations: 1.706 MB / 4.195 GB, free: 229.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/9.374, allocations: 1.238 MB / 4.196 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001698/9.376, allocations: 0.7299 MB / 4.197 GB, free: 227.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/9.376, allocations: 335.3 kB / 4.197 GB, free: 227.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/9.376, allocations: 0 / 4.197 GB, free: 227.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/9.438, allocations: 36.89 MB / 4.233 GB, free: 190.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/9.438, allocations: 185.3 kB / 4.234 GB, free: 190.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/12.67, allocations: 0 / 4.234 GB, free: 190.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat