Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.383/2.383, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0014/0.0014, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.752/1.752, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.00126/0.001259, allocations: 88.02 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.578e-05/4.581e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4354, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.96/6.395, allocations: 1.872 GB / 3.091 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.396, allocations: 92.86 kB / 3.091 GB, free: 364.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.541/9.937, allocations: 0.9805 GB / 4.072 GB, free: 317.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.112e-06/9.937, allocations: 0 / 4.072 GB, free: 317.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001724/9.937, allocations: 31.98 kB / 4.072 GB, free: 317.6 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00308/9.94, allocations: 1.16 MB / 4.073 GB, free: 316.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/9.94, allocations: 8.031 kB / 4.073 GB, free: 316.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/9.94, allocations: 94.52 kB / 4.073 GB, free: 316.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/9.941, allocations: 190.4 kB / 4.073 GB, free: 316.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/9.944, allocations: 1.101 MB / 4.074 GB, free: 314.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/9.944, allocations: 48.61 kB / 4.075 GB, free: 314.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/9.945, allocations: 56 kB / 4.075 GB, free: 314.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/9.946, allocations: 0.7454 MB / 4.075 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/9.946, allocations: 4 kB / 4.075 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/9.946, allocations: 20 kB / 4.075 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/9.946, allocations: 16 kB / 4.075 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/9.946, allocations: 478.5 kB / 4.076 GB, free: 313.5 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.004572/9.951, allocations: 4.594 MB / 4.08 GB, free: 308.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/9.952, allocations: 379.3 kB / 4.081 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/9.952, allocations: 213.6 kB / 4.081 GB, free: 307.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/9.952, allocations: 202.2 kB / 4.081 GB, free: 307.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/9.953, allocations: 275.7 kB / 4.081 GB, free: 307.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/9.953, allocations: 0 / 4.081 GB, free: 307.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001432/9.954, allocations: 0.6604 MB / 4.082 GB, free: 306.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/9.954, allocations: 85.11 kB / 4.082 GB, free: 306.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/9.955, allocations: 0.9728 MB / 4.083 GB, free: 305.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/9.955, allocations: 41.7 kB / 4.083 GB, free: 305.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/9.956, allocations: 492.5 kB / 4.083 GB, free: 305.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/9.956, allocations: 110.5 kB / 4.084 GB, free: 305 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/9.956, allocations: 12.16 kB / 4.084 GB, free: 305 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/9.956, allocations: 326 kB / 4.084 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/9.956, allocations: 164.7 kB / 4.084 GB, free: 304.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/9.957, allocations: 490.8 kB / 4.085 GB, free: 303.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/9.957, allocations: 279.5 kB / 4.085 GB, free: 303.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/9.957, allocations: 4 kB / 4.085 GB, free: 303.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001237/9.958, allocations: 0.8499 MB / 4.086 GB, free: 302.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005458/9.959, allocations: 2.124 MB / 4.088 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/9.959, allocations: 12 kB / 4.088 GB, free: 300.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/9.959, allocations: 267.6 kB / 4.088 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/9.96, allocations: 59.91 kB / 4.088 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/9.961, allocations: 1.083 MB / 4.089 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/9.962, allocations: 103.4 kB / 4.089 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.646e-05/9.962, allocations: 27.98 kB / 4.089 GB, free: 298.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/9.962, allocations: 4 kB / 4.089 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/9.963, allocations: 0.6812 MB / 4.09 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/9.963, allocations: 4 kB / 4.09 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/9.963, allocations: 226.1 kB / 4.09 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/9.964, allocations: 55.91 kB / 4.09 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/9.967, allocations: 2.978 MB / 4.093 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/9.968, allocations: 95.58 kB / 4.093 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/9.968, allocations: 24 kB / 4.093 GB, free: 294.7 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/9.968, allocations: 140.5 kB / 4.093 GB, free: 294.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/9.968, allocations: 98.78 kB / 4.093 GB, free: 294.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/9.969, allocations: 0.6752 MB / 4.094 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/9.969, allocations: 8 kB / 4.094 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/9.969, allocations: 0 / 4.094 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/9.969, allocations: 0 / 4.094 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/9.972, allocations: 1.564 MB / 4.096 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/9.972, allocations: 224 / 4.096 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/9.972, allocations: 39.91 kB / 4.096 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/9.972, allocations: 246.9 kB / 4.096 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/9.972, allocations: 8 kB / 4.096 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008249/9.973, allocations: 1.017 MB / 4.097 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/9.973, allocations: 8.031 kB / 4.097 GB, free: 290.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/9.974, allocations: 0.8622 MB / 4.098 GB, free: 289.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/9.975, allocations: 231.8 kB / 4.098 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/9.975, allocations: 8 kB / 4.098 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/9.976, allocations: 55.8 kB / 4.098 GB, free: 289.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/9.976, allocations: 35.84 kB / 4.098 GB, free: 289.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/9.976, allocations: 8 kB / 4.098 GB, free: 289.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009736/9.977, allocations: 0.7768 MB / 4.099 GB, free: 288.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/9.977, allocations: 0 / 4.099 GB, free: 288.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001939/9.979, allocations: 0.5075 MB / 4.099 GB, free: 288.1 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/9.981, allocations: 2.681 MB / 4.102 GB, free: 285.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002251/9.984, allocations: 1.156 MB / 4.103 GB, free: 284.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/9.984, allocations: 0 / 4.103 GB, free: 284.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004759/9.984, allocations: 260.1 kB / 4.103 GB, free: 283.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/9.986, allocations: 451 kB / 4.104 GB, free: 283.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/9.989, allocations: 1.657 MB / 4.105 GB, free: 281.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/9.99, allocations: 1.206 MB / 4.107 GB, free: 280.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001876/9.992, allocations: 0.7217 MB / 4.107 GB, free: 279.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/9.992, allocations: 295.3 kB / 4.108 GB, free: 279.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.123e-06/9.992, allocations: 0 / 4.108 GB, free: 279.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/10.07, allocations: 45.97 MB / 4.152 GB, free: 233.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/10.07, allocations: 238.3 kB / 4.153 GB, free: 233.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.48/13.55, allocations: 4 kB / 4.153 GB, free: 233.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat