Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 192.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 94 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.209/6.504, allocations: 2.18 GB / 3.081 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/6.505, allocations: 88.69 kB / 3.081 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.485/6.99, allocations: 213.5 MB / 3.289 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/6.99, allocations: 0 / 3.289 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.338e-05/6.99, allocations: 4 kB / 3.289 GB, free: 130.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001648/6.992, allocations: 0.6076 MB / 3.29 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/6.992, allocations: 12.03 kB / 3.29 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/6.992, allocations: 46.55 kB / 3.29 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/6.992, allocations: 55.55 kB / 3.29 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/6.993, allocations: 305.5 kB / 3.29 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/6.993, allocations: 12 kB / 3.29 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/6.993, allocations: 16 kB / 3.29 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/6.994, allocations: 192.1 kB / 3.29 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/6.994, allocations: 4 kB / 3.29 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/6.994, allocations: 4 kB / 3.29 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/6.994, allocations: 7.953 kB / 3.29 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/6.994, allocations: 127.8 kB / 3.29 GB, free: 129.1 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001328/6.996, allocations: 0.7812 MB / 3.291 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/6.996, allocations: 90.53 kB / 3.291 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/6.996, allocations: 186.2 kB / 3.291 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/6.996, allocations: 34.56 kB / 3.292 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/6.996, allocations: 4 kB / 3.292 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0009246/6.997, allocations: 225.7 kB / 3.292 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/6.997, allocations: 51.41 kB / 3.292 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/6.998, allocations: 234.3 kB / 3.292 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/6.998, allocations: 29.64 kB / 3.292 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/6.998, allocations: 151.9 kB / 3.292 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/6.998, allocations: 31.55 kB / 3.292 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/6.998, allocations: 8 kB / 3.292 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/6.998, allocations: 338.8 kB / 3.293 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/6.998, allocations: 39.97 kB / 3.293 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/6.998, allocations: 106.8 kB / 3.293 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/6.998, allocations: 59.94 kB / 3.293 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/6.998, allocations: 0 / 3.293 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004108/6.999, allocations: 161.3 kB / 3.293 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/6.999, allocations: 367.9 kB / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/6.999, allocations: 4 kB / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/6.999, allocations: 0 / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/6.999, allocations: 23.98 kB / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/6.999, allocations: 0 / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/7, allocations: 35.83 kB / 3.293 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/7, allocations: 4 kB / 3.293 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/7, allocations: 4 kB / 3.293 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003307/7, allocations: 123.8 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/7, allocations: 3.953 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/7, allocations: 0 / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/7, allocations: 23.98 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/7, allocations: 0 / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/7, allocations: 27.83 kB / 3.293 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/7, allocations: 8 kB / 3.294 GB, free: 125.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001672/7.001, allocations: 229.5 kB / 3.294 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/7.001, allocations: 23.72 kB / 3.294 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/7.001, allocations: 163.4 kB / 3.294 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/7.001, allocations: 7.984 kB / 3.294 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/7.001, allocations: 8 kB / 3.294 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/7.001, allocations: 4.5 kB / 3.294 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/7.002, allocations: 0.586 MB / 3.294 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/7.002, allocations: 0 / 3.294 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/7.002, allocations: 27.92 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/7.002, allocations: 4.219 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/7.003, allocations: 12 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/7.003, allocations: 3.938 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/7.003, allocations: 4 kB / 3.295 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/7.003, allocations: 385.1 kB / 3.295 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/7.003, allocations: 120.7 kB / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/7.003, allocations: 0 / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/7.004, allocations: 23.97 kB / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/7.004, allocations: 19.89 kB / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/7.004, allocations: 4 kB / 3.295 GB, free: 124 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002189/7.004, allocations: 193.9 kB / 3.295 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/7.004, allocations: 0 / 3.295 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001109/7.005, allocations: 179.8 kB / 3.295 GB, free: 123.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002568/7.008, allocations: 2.18 MB / 3.298 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006312/7.008, allocations: 183.9 kB / 3.298 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.008, allocations: 0 / 3.298 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/7.008, allocations: 64.03 kB / 3.298 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/7.009, allocations: 126.2 kB / 3.298 GB, free: 121 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/7.012, allocations: 1.773 MB / 3.3 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/7.013, allocations: 0.7638 MB / 3.3 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003423/7.013, allocations: 70.69 kB / 3.3 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/7.013, allocations: 67.41 kB / 3.301 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/7.013, allocations: 0 / 3.301 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/7.056, allocations: 20.26 MB / 3.32 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/7.057, allocations: 227.6 kB / 3.321 GB, free: 97.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/9.398, allocations: 0 / 3.321 GB, free: 97.88 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)