Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001095/0.001095, allocations: 184.8 kB / 487.4 MB, free: 5.078 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.596/1.596, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009303/0.0009303, allocations: 103.8 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.943e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.151/4.41, allocations: 1.871 GB / 3.077 GB, free: 9.785 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/4.41, allocations: 91.94 kB / 3.077 GB, free: 9.695 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.259/8.669, allocations: 0.9703 GB / 4.047 GB, free: 370.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.826e-06/8.669, allocations: 0 / 4.047 GB, free: 370.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002865/8.67, allocations: 30.3 kB / 4.047 GB, free: 370.1 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004275/8.674, allocations: 1.154 MB / 4.049 GB, free: 369.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.732e-05/8.674, allocations: 13.72 kB / 4.049 GB, free: 369.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/8.676, allocations: 184.2 kB / 4.049 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/8.68, allocations: 1.103 MB / 4.05 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/8.68, allocations: 14.62 kB / 4.05 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/8.68, allocations: 37.69 kB / 4.05 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001343/8.682, allocations: 470.9 kB / 4.05 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/8.683, allocations: 0.6673 MB / 4.051 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/8.684, allocations: 3.531 kB / 4.051 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/8.684, allocations: 7.859 kB / 4.051 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/8.684, allocations: 11.03 kB / 4.051 GB, free: 368.4 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.006487/8.69, allocations: 4.473 MB / 4.055 GB, free: 364.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/8.691, allocations: 443.5 kB / 4.056 GB, free: 364.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/8.691, allocations: 236.2 kB / 4.056 GB, free: 364.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/8.692, allocations: 188.8 kB / 4.056 GB, free: 364.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/8.692, allocations: 273.4 kB / 4.056 GB, free: 364.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 3.827e-06/8.692, allocations: 0 / 4.056 GB, free: 364.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.002469/8.695, allocations: 0.7441 MB / 4.057 GB, free: 363.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/8.695, allocations: 85.02 kB / 4.057 GB, free: 363.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/8.697, allocations: 0.8486 MB / 4.058 GB, free: 363.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/8.697, allocations: 29.59 kB / 4.058 GB, free: 363.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/8.698, allocations: 496.8 kB / 4.059 GB, free: 363 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/8.698, allocations: 101.6 kB / 4.059 GB, free: 363 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/8.698, allocations: 0 / 4.059 GB, free: 363 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001337/8.698, allocations: 329.2 kB / 4.059 GB, free: 362.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/8.698, allocations: 177.1 kB / 4.059 GB, free: 362.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/8.699, allocations: 0.4974 MB / 4.06 GB, free: 362.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/8.7, allocations: 263.6 kB / 4.06 GB, free: 362.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/8.7, allocations: 0 / 4.06 GB, free: 362.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002328/8.702, allocations: 0.8703 MB / 4.061 GB, free: 361.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007301/8.703, allocations: 2.125 MB / 4.063 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/8.703, allocations: 11.72 kB / 4.063 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/8.703, allocations: 248.1 kB / 4.063 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/8.704, allocations: 62.94 kB / 4.063 GB, free: 359.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/8.706, allocations: 1.179 MB / 4.064 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/8.707, allocations: 89.98 kB / 4.064 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/8.707, allocations: 25.36 kB / 4.064 GB, free: 358.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/8.707, allocations: 3.781 kB / 4.064 GB, free: 358.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/8.709, allocations: 0.5841 MB / 4.065 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/8.709, allocations: 7.438 kB / 4.065 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/8.709, allocations: 208.6 kB / 4.065 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/8.71, allocations: 67.36 kB / 4.065 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/8.714, allocations: 2.867 MB / 4.068 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/8.715, allocations: 81.73 kB / 4.068 GB, free: 356.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/8.716, allocations: 26.06 kB / 4.068 GB, free: 356.3 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_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.0003008/8.716, allocations: 123.2 kB / 4.068 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001406/8.717, allocations: 0.609 MB / 4.069 GB, free: 355.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/8.718, allocations: 96.59 kB / 4.069 GB, free: 355.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/8.719, allocations: 0.6376 MB / 4.07 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/8.719, allocations: 3.938 kB / 4.07 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/8.719, allocations: 4 kB / 4.07 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/8.719, allocations: 3.906 kB / 4.07 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/8.722, allocations: 1.462 MB / 4.071 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/8.722, allocations: 11.83 kB / 4.071 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/8.723, allocations: 29.86 kB / 4.071 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/8.723, allocations: 200.7 kB / 4.071 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/8.723, allocations: 7 kB / 4.071 GB, free: 354.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/8.724, allocations: 1.046 MB / 4.072 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/8.724, allocations: 0 / 4.072 GB, free: 353.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/8.726, allocations: 0.8443 MB / 4.073 GB, free: 353 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/8.726, allocations: 213.5 kB / 4.073 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/8.727, allocations: 3.781 kB / 4.073 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009001/8.727, allocations: 52.17 kB / 4.073 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/8.728, allocations: 31.39 kB / 4.073 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/8.728, allocations: 15.25 kB / 4.073 GB, free: 352.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001264/8.729, allocations: 0.6631 MB / 4.074 GB, free: 352.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.729, allocations: 6.594 kB / 4.074 GB, free: 352.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002719/8.732, allocations: 485.6 kB / 4.075 GB, free: 352.3 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_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.00387/8.736, allocations: 2.79 MB / 4.077 GB, free: 350.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002982/8.739, allocations: 1.109 MB / 4.078 GB, free: 349.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/8.739, allocations: 0 / 4.078 GB, free: 349.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/8.739, allocations: 249.2 kB / 4.079 GB, free: 349.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/8.742, allocations: 400.1 kB / 4.079 GB, free: 349.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/8.747, allocations: 1.612 MB / 4.081 GB, free: 348.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009032/8.748, allocations: 1.204 MB / 4.082 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002819/8.751, allocations: 0.6773 MB / 4.082 GB, free: 347.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/8.751, allocations: 291.3 kB / 4.083 GB, free: 347.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.315e-06/8.751, allocations: 0 / 4.083 GB, free: 347.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08983/8.841, allocations: 32.23 MB / 4.114 GB, free: 315.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/8.841, allocations: 180.6 kB / 4.114 GB, free: 315.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/12.04, allocations: 0 / 4.114 GB, free: 315.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat