Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.392/2.392, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.771e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1413/0.1414, allocations: 145.7 MB / 0.9809 GB, free: 11.85 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1442, allocations: 2.582 MB / 0.9835 GB, free: 9.262 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.1444, allocations: 19.81 kB / 0.9835 GB, free: 9.242 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.1449, allocations: 111.2 kB / 0.9836 GB, free: 9.133 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.1455, allocations: 322.1 kB / 0.9839 GB, free: 8.816 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1466, allocations: 0.6578 MB / 0.9845 GB, free: 8.156 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.1471, allocations: 0.5847 MB / 0.9851 GB, free: 7.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1474, allocations: 150.6 kB / 0.9853 GB, free: 7.426 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.1478, allocations: 339.1 kB / 0.9856 GB, free: 7.094 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1479, allocations: 131.5 kB / 0.9857 GB, free: 6.965 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.148, allocations: 12 kB / 0.9857 GB, free: 6.953 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.1485, allocations: 438.9 kB / 0.9861 GB, free: 6.523 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.1486, allocations: 99.7 kB / 0.9862 GB, free: 6.426 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1486, allocations: 83.78 kB / 0.9863 GB, free: 6.344 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.1492, allocations: 422.5 kB / 0.9867 GB, free: 5.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1492, allocations: 0 / 0.9867 GB, free: 5.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1492, allocations: 0 / 0.9867 GB, free: 5.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1492, allocations: 0 / 0.9867 GB, free: 5.93 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.0004973/0.1497, allocations: 0.5024 MB / 0.9872 GB, free: 5.402 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1498, allocations: 8.625 kB / 0.9872 GB, free: 5.395 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.15, allocations: 72.73 kB / 0.9873 GB, free: 5.324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1502, allocations: 261.8 kB / 0.9875 GB, free: 5.039 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1503, allocations: 12.38 kB / 0.9875 GB, free: 5.027 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1503, allocations: 27.92 kB / 0.9876 GB, free: 5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1505, allocations: 173.3 kB / 0.9877 GB, free: 4.805 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1505, allocations: 8 kB / 0.9877 GB, free: 4.797 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1505, allocations: 8 kB / 0.9877 GB, free: 4.789 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1505, allocations: 4 kB / 0.9878 GB, free: 4.785 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.1505, allocations: 40.45 kB / 0.9878 GB, free: 4.742 MB / 0.948 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.0005047/0.1511, allocations: 0.5108 MB / 0.9883 GB, free: 4.203 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.1511, allocations: 82.47 kB / 0.9884 GB, free: 4.113 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.1512, allocations: 31.67 kB / 0.9884 GB, free: 4.078 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.387e-05/0.1513, allocations: 23.98 kB / 0.9884 GB, free: 4.055 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1513, allocations: 34.56 kB / 0.9885 GB, free: 4.012 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1513, allocations: 3.938 kB / 0.9885 GB, free: 4.008 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002206/0.1515, allocations: 97.58 kB / 0.9886 GB, free: 3.906 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.1515, allocations: 51.41 kB / 0.9886 GB, free: 3.844 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1516, allocations: 254.9 kB / 0.9888 GB, free: 3.586 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1517, allocations: 29.7 kB / 0.9889 GB, free: 3.551 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.1517, allocations: 145 kB / 0.989 GB, free: 3.402 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1517, allocations: 39.67 kB / 0.989 GB, free: 3.363 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.1518, allocations: 41.69 kB / 0.9891 GB, free: 3.316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.1519, allocations: 338.8 kB / 0.9894 GB, free: 2.977 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.1519, allocations: 19.64 kB / 0.9894 GB, free: 2.953 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.152, allocations: 241.4 kB / 0.9897 GB, free: 2.641 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1521, allocations: 147.3 kB / 0.9898 GB, free: 2.453 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1521, allocations: 0 / 0.9898 GB, free: 2.453 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001329/0.1522, allocations: 131.2 kB / 0.9899 GB, free: 2.316 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1522, allocations: 12.03 kB / 0.9899 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1523, allocations: 4 kB / 0.9899 GB, free: 2.301 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1523, allocations: 4 kB / 0.9899 GB, free: 2.297 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.1524, allocations: 39.91 kB / 0.99 GB, free: 2.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1524, allocations: 4 kB / 0.99 GB, free: 2.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.1524, allocations: 19.89 kB / 0.99 GB, free: 2.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1525, allocations: 12 kB / 0.99 GB, free: 2.223 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.728e-05/0.1525, allocations: 101.8 kB / 0.9901 GB, free: 2.117 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.4e-05/0.1526, allocations: 239.3 kB / 0.9903 GB, free: 1.809 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.67e-05/0.1527, allocations: 136.6 kB / 0.9905 GB, free: 1.633 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.1527, allocations: 0 / 0.9905 GB, free: 1.633 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001235/0.1528, allocations: 138.9 kB / 0.9906 GB, free: 1.488 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.1528, allocations: 8 kB / 0.9906 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.1528, allocations: 4 kB / 0.9906 GB, free: 1.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.1528, allocations: 4 kB / 0.9906 GB, free: 1.473 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/0.1529, allocations: 39.92 kB / 0.9907 GB, free: 1.434 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1529, allocations: 4 kB / 0.9907 GB, free: 1.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.153, allocations: 20.47 kB / 0.9907 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.153, allocations: 16 kB / 0.9907 GB, free: 1.395 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.1531, allocations: 196.1 kB / 0.9909 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1531, allocations: 11.98 kB / 0.9909 GB, free: 1.184 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1532, allocations: 95.8 kB / 0.991 GB, free: 1.082 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1532, allocations: 0 / 0.991 GB, free: 1.082 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1532, allocations: 0 / 0.991 GB, free: 1.082 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1532, allocations: 7.938 kB / 0.991 GB, free: 1.074 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1535, allocations: 475.9 kB / 0.9914 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1535, allocations: 0 / 0.9914 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1536, allocations: 27.92 kB / 0.9915 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1536, allocations: 0 / 0.9915 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1536, allocations: 4.125 kB / 0.9915 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1536, allocations: 8 kB / 0.9915 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1536, allocations: 0 / 0.9915 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.1537, allocations: 284 kB / 0.9918 GB, free: 196 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1538, allocations: 36.06 kB / 0.9918 GB, free: 160 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1538, allocations: 4 kB / 0.9918 GB, free: 156 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1539, allocations: 4 kB / 0.9918 GB, free: 152 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1539, allocations: 23.84 kB / 0.9918 GB, free: 128 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1539, allocations: 4 kB / 0.9918 GB, free: 124 kB / 0.948 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.154, allocations: 92.62 kB / 0.9919 GB, free: 32 kB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.154, allocations: 0 / 0.9919 GB, free: 32 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002856/0.1542, allocations: 115.8 kB / 0.992 GB, free: 15.91 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001708/0.1544, allocations: 124.2 kB / 0.9921 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1546, allocations: 129.2 kB / 0.9923 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1546, allocations: 5.25 kB / 0.9923 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.1546, allocations: 29.11 kB / 0.9923 GB, free: 15.62 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1549, allocations: 92.98 kB / 0.9924 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.1556, allocations: 462.1 kB / 0.9928 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.1556, allocations: 92.23 kB / 0.9929 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.1557, allocations: 34.64 kB / 0.9929 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.156, allocations: 125.3 kB / 0.9931 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/0.156, allocations: 0 / 0.9931 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of Templates: time 0.00575/0.1618, allocations: 4.166 MB / 0.9971 GB, free: 10.68 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3711645803414285]