Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9091/0.9091, allocations: 143.4 MB / 158.3 MB, free: 5.641 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 181 kB / 191.5 MB, free: 5.656 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 447.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.0008931, allocations: 84.41 kB / 0.5187 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 280.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004376, allocations: 19.05 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.249/4.43, allocations: 1.828 GB / 2.602 GB, free: 191.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/4.43, allocations: 90.17 kB / 2.602 GB, free: 191.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.8873/5.318, allocations: 222.4 MB / 2.819 GB, free: 207.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.755e-06/5.318, allocations: 0 / 2.819 GB, free: 207.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.882e-05/5.318, allocations: 5.031 kB / 2.819 GB, free: 207.7 MB / 0.7136 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.001422/5.319, allocations: 0.6145 MB / 2.82 GB, free: 207.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/5.319, allocations: 11.38 kB / 2.82 GB, free: 207.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.283e-05/5.319, allocations: 46.67 kB / 2.82 GB, free: 207.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/5.32, allocations: 50.83 kB / 2.82 GB, free: 207.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/5.32, allocations: 307.7 kB / 2.82 GB, free: 207.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/5.32, allocations: 9.5 kB / 2.82 GB, free: 207.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/5.32, allocations: 16.09 kB / 2.82 GB, free: 207.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/5.321, allocations: 203 kB / 2.821 GB, free: 207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/5.321, allocations: 0 / 2.821 GB, free: 207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/5.321, allocations: 12.56 kB / 2.821 GB, free: 207 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/5.321, allocations: 5.656 kB / 2.821 GB, free: 207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/5.321, allocations: 127.8 kB / 2.821 GB, free: 207 MB / 0.7136 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.00114/5.322, allocations: 0.7882 MB / 2.821 GB, free: 206.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/5.323, allocations: 85.27 kB / 2.822 GB, free: 206.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/5.323, allocations: 183.4 kB / 2.822 GB, free: 206.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/5.323, allocations: 36.78 kB / 2.822 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/5.323, allocations: 0 / 2.822 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006818/5.324, allocations: 224.8 kB / 2.822 GB, free: 206.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/5.324, allocations: 51.41 kB / 2.822 GB, free: 206.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/5.324, allocations: 243.1 kB / 2.822 GB, free: 206 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/5.324, allocations: 28.36 kB / 2.822 GB, free: 206 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/5.324, allocations: 144.8 kB / 2.822 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/5.324, allocations: 38.89 kB / 2.822 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/5.324, allocations: 0 / 2.822 GB, free: 205.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/5.324, allocations: 339.1 kB / 2.823 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/5.324, allocations: 46.41 kB / 2.823 GB, free: 205.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/5.325, allocations: 112.5 kB / 2.823 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/5.325, allocations: 51.34 kB / 2.823 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.325, allocations: 0 / 2.823 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003951/5.325, allocations: 171.2 kB / 2.823 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/5.325, allocations: 362.6 kB / 2.823 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/5.325, allocations: 1.531 kB / 2.823 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/5.325, allocations: 2.062 kB / 2.823 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/5.325, allocations: 22.66 kB / 2.823 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/5.325, allocations: 8.969 kB / 2.823 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/5.326, allocations: 28.11 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/5.326, allocations: 8.719 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/5.326, allocations: 4.469 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003082/5.326, allocations: 119.5 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/5.326, allocations: 4.406 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/5.326, allocations: 1.25 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/5.326, allocations: 22.75 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/5.326, allocations: 4.656 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/5.326, allocations: 24.52 kB / 2.824 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/5.326, allocations: 11.56 kB / 2.824 GB, free: 205.1 MB / 0.7136 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.000181/5.327, allocations: 222.1 kB / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/5.327, allocations: 22.66 kB / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/5.327, allocations: 166.7 kB / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/5.327, allocations: 1.75 kB / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/5.327, allocations: 0 / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/5.327, allocations: 5.031 kB / 2.824 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/5.328, allocations: 0.5827 MB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/5.328, allocations: 1.938 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/5.328, allocations: 26.77 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/5.328, allocations: 7.578 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/5.328, allocations: 7.109 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/5.328, allocations: 2.344 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/5.328, allocations: 6.438 kB / 2.825 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/5.329, allocations: 390 kB / 2.825 GB, free: 204.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/5.329, allocations: 119.4 kB / 2.825 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/5.329, allocations: 2.656 kB / 2.825 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/5.329, allocations: 26.33 kB / 2.825 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/5.329, allocations: 11.25 kB / 2.825 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/5.329, allocations: 4.438 kB / 2.825 GB, free: 204.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002085/5.33, allocations: 193.6 kB / 2.825 GB, free: 204 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/5.33, allocations: 2.281 kB / 2.825 GB, free: 204 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009087/5.33, allocations: 175.7 kB / 2.826 GB, free: 204 MB / 0.7136 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.002243/5.333, allocations: 2.192 MB / 2.828 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004922/5.333, allocations: 180.6 kB / 2.828 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/5.333, allocations: 1.094 kB / 2.828 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/5.333, allocations: 65.12 kB / 2.828 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/5.334, allocations: 131.7 kB / 2.828 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/5.337, allocations: 1.773 MB / 2.83 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/5.337, allocations: 0.7611 MB / 2.831 GB, free: 200.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002566/5.337, allocations: 59.94 kB / 2.831 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/5.337, allocations: 71.89 kB / 2.831 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/5.337, allocations: 0 / 2.831 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/5.39, allocations: 20.28 MB / 2.851 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/5.391, allocations: 234.5 kB / 2.851 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/7.802, allocations: 0 / 2.851 GB, free: 200.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)