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: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8136/0.8136, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.00129/0.00129, allocations: 175.4 kB / 191.5 MB, free: 5.785 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.487/1.487, allocations: 223.2 MB / 447.7 MB, free: 6.555 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.0009898/0.00099, allocations: 92.27 kB / 0.5188 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001806, allocations: 274.9 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004391, allocations: 23.98 kB / 0.6929 GB, free: 2.34 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.408, allocations: 82.77 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.092/4.5, allocations: 1.828 GB / 2.602 GB, free: 156.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/4.5, allocations: 99.19 kB / 2.602 GB, free: 156.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7593/5.26, allocations: 222.4 MB / 2.819 GB, free: 207.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/5.26, allocations: 0 / 2.819 GB, free: 207.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.606e-05/5.26, allocations: 11.36 kB / 2.819 GB, free: 207.6 MB / 0.698 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.000897/5.261, allocations: 0.6038 MB / 2.82 GB, free: 207.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/5.261, allocations: 15.2 kB / 2.82 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/5.261, allocations: 51.09 kB / 2.82 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/5.261, allocations: 314.6 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/5.261, allocations: 13.12 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/5.262, allocations: 15.03 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/5.262, allocations: 190.8 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/5.262, allocations: 0 / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/5.262, allocations: 8.547 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/5.262, allocations: 3.969 kB / 2.82 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/5.262, allocations: 134.1 kB / 2.821 GB, free: 206.9 MB / 0.698 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.0008748/5.263, allocations: 0.7929 MB / 2.821 GB, free: 206.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/5.263, allocations: 81.53 kB / 2.821 GB, free: 206.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/5.264, allocations: 186.8 kB / 2.822 GB, free: 206.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/5.264, allocations: 41.75 kB / 2.822 GB, free: 206 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/5.264, allocations: 0 / 2.822 GB, free: 206 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005993/5.264, allocations: 224.6 kB / 2.822 GB, free: 206 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/5.264, allocations: 51.41 kB / 2.822 GB, free: 205.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/5.264, allocations: 240.8 kB / 2.822 GB, free: 205.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/5.264, allocations: 25.7 kB / 2.822 GB, free: 205.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/5.265, allocations: 145.2 kB / 2.822 GB, free: 205.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/5.265, allocations: 35.22 kB / 2.822 GB, free: 205.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/5.265, allocations: 0 / 2.822 GB, free: 205.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.009e-05/5.265, allocations: 338 kB / 2.823 GB, free: 205.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/5.265, allocations: 47.94 kB / 2.823 GB, free: 205.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/5.265, allocations: 103.1 kB / 2.823 GB, free: 205.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/5.265, allocations: 54.09 kB / 2.823 GB, free: 205.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/5.265, allocations: 1.469 kB / 2.823 GB, free: 205.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002922/5.265, allocations: 167.6 kB / 2.823 GB, free: 205.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/5.265, allocations: 364.9 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/5.265, allocations: 0 / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/5.265, allocations: 0.5625 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/5.266, allocations: 28.69 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/5.266, allocations: 0 / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/5.266, allocations: 32.41 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/5.266, allocations: 11.06 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-06/5.266, allocations: 6.906 kB / 2.823 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002391/5.266, allocations: 113.3 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/5.266, allocations: 6.094 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/5.266, allocations: 3.844 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/5.266, allocations: 25.22 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/5.266, allocations: 7.703 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/5.266, allocations: 28.89 kB / 2.824 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/5.266, allocations: 7.969 kB / 2.824 GB, free: 204.7 MB / 0.698 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.0001191/5.267, allocations: 212.1 kB / 2.824 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/5.267, allocations: 29.16 kB / 2.824 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/5.267, allocations: 163.8 kB / 2.824 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/5.267, allocations: 0 / 2.824 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/5.267, allocations: 7.516 kB / 2.824 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/5.267, allocations: 0 / 2.824 GB, free: 204.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/5.268, allocations: 0.5924 MB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/5.268, allocations: 0 / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/5.268, allocations: 30.8 kB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/5.268, allocations: 1.562 kB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/5.268, allocations: 8.938 kB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/5.268, allocations: 3.281 kB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/5.268, allocations: 3.969 kB / 2.825 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/5.268, allocations: 382.7 kB / 2.825 GB, free: 203.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/5.268, allocations: 122.8 kB / 2.825 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/5.268, allocations: 0 / 2.825 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/5.269, allocations: 21.72 kB / 2.825 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/5.269, allocations: 22.02 kB / 2.825 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/5.269, allocations: 3.906 kB / 2.825 GB, free: 203.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001383/5.269, allocations: 198 kB / 2.825 GB, free: 203.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.269, allocations: 3.938 kB / 2.825 GB, free: 203.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006841/5.27, allocations: 173.4 kB / 2.825 GB, free: 203.3 MB / 0.698 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.001156/5.271, allocations: 0.894 MB / 2.826 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004244/5.271, allocations: 174.1 kB / 2.827 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/5.271, allocations: 0 / 2.827 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/5.271, allocations: 66.39 kB / 2.827 GB, free: 203.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/5.272, allocations: 133.3 kB / 2.827 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/5.273, allocations: 0.4971 MB / 2.827 GB, free: 202.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/5.273, allocations: 0.7628 MB / 2.828 GB, free: 202 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001994/5.273, allocations: 71.64 kB / 2.828 GB, free: 202 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/5.273, allocations: 19.12 kB / 2.828 GB, free: 202 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/5.273, allocations: 0 / 2.828 GB, free: 202 MB / 0.698 GB Notification: Performance of Templates: time 0.01839/5.291, allocations: 14.89 MB / 2.843 GB, free: 194.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)