Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 183.1 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009465/0.0009467, allocations: 90.75 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.954e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2683, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.364/6.633, allocations: 2.063 GB / 3.043 GB, free: 179.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/6.633, allocations: 80.52 kB / 3.043 GB, free: 179.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/7.787, allocations: 220.1 MB / 3.258 GB, free: 230.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/7.787, allocations: 0 / 3.258 GB, free: 230.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.613e-05/7.787, allocations: 6.25 kB / 3.258 GB, free: 230.5 MB / 0.948 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.0008945/7.788, allocations: 0.569 MB / 3.258 GB, free: 230.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/7.788, allocations: 9.625 kB / 3.259 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/7.788, allocations: 47.41 kB / 3.259 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/7.789, allocations: 62.62 kB / 3.259 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/7.789, allocations: 299.1 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/7.789, allocations: 13.48 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/7.789, allocations: 19.53 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/7.79, allocations: 175.9 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/7.79, allocations: 0 / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/7.79, allocations: 7.875 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/7.79, allocations: 3.094 kB / 3.259 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/7.79, allocations: 95.39 kB / 3.259 GB, free: 229.8 MB / 0.948 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.0009087/7.791, allocations: 0.7899 MB / 3.26 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/7.791, allocations: 64.2 kB / 3.26 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/7.791, allocations: 52.92 kB / 3.26 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/7.791, allocations: 189.1 kB / 3.26 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/7.791, allocations: 37.72 kB / 3.26 GB, free: 229 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/7.791, allocations: 2.156 kB / 3.26 GB, free: 229 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003803/7.792, allocations: 142.6 kB / 3.26 GB, free: 229 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/7.792, allocations: 57.05 kB / 3.26 GB, free: 228.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/7.792, allocations: 232.6 kB / 3.261 GB, free: 228.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/7.792, allocations: 31.02 kB / 3.261 GB, free: 228.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/7.792, allocations: 150.5 kB / 3.261 GB, free: 228.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/7.792, allocations: 30.69 kB / 3.261 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/7.792, allocations: 3.938 kB / 3.261 GB, free: 228.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/7.792, allocations: 336 kB / 3.261 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/7.792, allocations: 23.05 kB / 3.261 GB, free: 228.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/7.792, allocations: 96.03 kB / 3.261 GB, free: 228.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/7.792, allocations: 36.97 kB / 3.261 GB, free: 228.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.792, allocations: 3.219 kB / 3.261 GB, free: 228.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/7.793, allocations: 126.8 kB / 3.262 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/7.793, allocations: 368.4 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/7.793, allocations: 0 / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/7.793, allocations: 2.375 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/7.793, allocations: 22.89 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/7.793, allocations: 3.375 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/7.793, allocations: 27.66 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/7.793, allocations: 9.75 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/7.793, allocations: 3.156 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001361/7.793, allocations: 79.05 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/7.793, allocations: 2.531 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/7.793, allocations: 7.547 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/7.793, allocations: 26.03 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/7.793, allocations: 1.594 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/7.794, allocations: 33.56 kB / 3.262 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/7.794, allocations: 3.312 kB / 3.262 GB, free: 227.9 MB / 0.948 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 () * 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 7.621e-05/7.794, allocations: 119.1 kB / 3.262 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/7.794, allocations: 21.53 kB / 3.262 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/7.794, allocations: 139.2 kB / 3.262 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/7.794, allocations: 3.953 kB / 3.262 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/7.794, allocations: 0 / 3.262 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/7.794, allocations: 6.734 kB / 3.262 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/7.795, allocations: 0.5558 MB / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/7.795, allocations: 0 / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/7.795, allocations: 30.28 kB / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/7.795, allocations: 5.188 kB / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/7.795, allocations: 3.188 kB / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/7.795, allocations: 0 / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/7.795, allocations: 6.344 kB / 3.263 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/7.795, allocations: 357.5 kB / 3.263 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/7.795, allocations: 112.4 kB / 3.263 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/7.795, allocations: 3.188 kB / 3.263 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/7.795, allocations: 25.72 kB / 3.263 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/7.796, allocations: 15.28 kB / 3.263 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/7.796, allocations: 8.344 kB / 3.263 GB, free: 226.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001669/7.796, allocations: 190.7 kB / 3.264 GB, free: 226.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.796, allocations: 0 / 3.264 GB, free: 226.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007658/7.796, allocations: 171.8 kB / 3.264 GB, free: 226.8 MB / 0.948 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 () * 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.0021/7.799, allocations: 2.159 MB / 3.266 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003035/7.799, allocations: 126.5 kB / 3.266 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/7.799, allocations: 2.875 kB / 3.266 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/7.799, allocations: 48.86 kB / 3.266 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/7.8, allocations: 135.8 kB / 3.266 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/7.8, allocations: 391.5 kB / 3.267 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/7.801, allocations: 0.7686 MB / 3.267 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002706/7.801, allocations: 86.17 kB / 3.267 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/7.801, allocations: 65.44 kB / 3.267 GB, free: 224.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/7.801, allocations: 0 / 3.267 GB, free: 224.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04668/7.848, allocations: 23.1 MB / 3.29 GB, free: 223.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/7.848, allocations: 192.8 kB / 3.29 GB, free: 223.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/10.44, allocations: 0 / 3.29 GB, free: 223.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)