Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009622/0.0009622, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001089/0.001089, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9327/0.9327, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.864/1.864, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.37e-05, allocations: 2.312 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1235/0.1235, allocations: 145.7 MB / 0.9023 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1258, allocations: 1.698 MB / 0.9039 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.126, allocations: 15.88 kB / 0.9039 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1264, allocations: 107.2 kB / 0.904 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.127, allocations: 318.1 kB / 0.9043 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.1277, allocations: 438.7 kB / 0.9048 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.1283, allocations: 0.5757 MB / 0.9053 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.1286, allocations: 154.7 kB / 0.9055 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.129, allocations: 331 kB / 0.9058 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.1291, allocations: 127.5 kB / 0.9059 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1291, allocations: 19.94 kB / 0.9059 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.1296, allocations: 427 kB / 0.9063 GB, free: 468 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.1297, allocations: 87.67 kB / 0.9064 GB, free: 380 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.1298, allocations: 71.86 kB / 0.9065 GB, free: 308 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1302, allocations: 406.8 kB / 0.9069 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1302, allocations: 0 / 0.9069 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1302, allocations: 0 / 0.9069 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1302, allocations: 0 / 0.9069 GB, free: 15.9 MB / 0.8698 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.0004764/0.1307, allocations: 498.9 kB / 0.9073 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.1307, allocations: 8.031 kB / 0.9074 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.1309, allocations: 68.73 kB / 0.9074 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1312, allocations: 240.7 kB / 0.9077 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1312, allocations: 8.375 kB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1312, allocations: 19.94 kB / 0.9077 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1314, allocations: 182.4 kB / 0.9079 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1314, allocations: 0 / 0.9079 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1314, allocations: 4 kB / 0.9079 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1314, allocations: 8 kB / 0.9079 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.1314, allocations: 44.41 kB / 0.9079 GB, free: 14.77 MB / 0.8698 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.0004624/0.1319, allocations: 0.507 MB / 0.9084 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.132, allocations: 82.41 kB / 0.9085 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.132, allocations: 31.67 kB / 0.9085 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.1321, allocations: 23.98 kB / 0.9085 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1321, allocations: 38.56 kB / 0.9086 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1321, allocations: 0 / 0.9086 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0001945/0.1323, allocations: 93.53 kB / 0.9087 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.1324, allocations: 51.41 kB / 0.9087 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1325, allocations: 221 kB / 0.9089 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1325, allocations: 33.7 kB / 0.909 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.1325, allocations: 132.8 kB / 0.9091 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1326, allocations: 35.62 kB / 0.9091 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1326, allocations: 37.7 kB / 0.9091 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.1327, allocations: 334.8 kB / 0.9095 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.1327, allocations: 15.69 kB / 0.9095 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.1328, allocations: 177.6 kB / 0.9097 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.1328, allocations: 67.81 kB / 0.9097 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1328, allocations: 64 / 0.9097 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.006e-05/0.1329, allocations: 87.19 kB / 0.9098 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1329, allocations: 8 kB / 0.9098 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1329, allocations: 0 / 0.9098 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.1329, allocations: 32 / 0.9098 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.133, allocations: 23.98 kB / 0.9098 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.133, allocations: 0 / 0.9098 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.1331, allocations: 19.89 kB / 0.9098 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1331, allocations: 4 kB / 0.9099 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.337e-05/0.1331, allocations: 97.78 kB / 0.9099 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.373e-05/0.1332, allocations: 177.7 kB / 0.9101 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.648e-05/0.1332, allocations: 61.12 kB / 0.9102 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.1332, allocations: 0 / 0.9102 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.121e-05/0.1333, allocations: 87.22 kB / 0.9103 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.1333, allocations: 11.98 kB / 0.9103 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.72e-07/0.1333, allocations: 0 / 0.9103 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.1333, allocations: 4 kB / 0.9103 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.953e-05/0.1334, allocations: 19.94 kB / 0.9103 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-06/0.1334, allocations: 0 / 0.9103 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1335, allocations: 11.98 kB / 0.9103 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1336, allocations: 4 kB / 0.9103 GB, free: 12.05 MB / 0.8698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.1336, allocations: 192.1 kB / 0.9105 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.1336, allocations: 15.98 kB / 0.9105 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1337, allocations: 95.34 kB / 0.9106 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1337, allocations: 0 / 0.9106 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1337, allocations: 0 / 0.9106 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1338, allocations: 0 / 0.9106 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.1341, allocations: 464 kB / 0.911 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1341, allocations: 3.938 kB / 0.911 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.1341, allocations: 32.14 kB / 0.9111 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1341, allocations: 4 kB / 0.9111 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1342, allocations: 4 kB / 0.9111 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1342, allocations: 0 / 0.9111 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1342, allocations: 4 kB / 0.9111 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1343, allocations: 284.7 kB / 0.9114 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.1343, allocations: 23.89 kB / 0.9114 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1343, allocations: 4 kB / 0.9114 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.1344, allocations: 12.06 kB / 0.9114 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1344, allocations: 19.92 kB / 0.9114 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1344, allocations: 4 kB / 0.9114 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.1345, allocations: 74.77 kB / 0.9115 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1345, allocations: 0 / 0.9115 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002449/0.1347, allocations: 107.7 kB / 0.9116 GB, free: 10.61 MB / 0.8698 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.0001649/0.1349, allocations: 124.4 kB / 0.9117 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.135, allocations: 85.56 kB / 0.9118 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.135, allocations: 0 / 0.9118 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.1351, allocations: 28.78 kB / 0.9118 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1354, allocations: 94.33 kB / 0.9119 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.136, allocations: 442.4 kB / 0.9123 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.1361, allocations: 84.31 kB / 0.9124 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.1361, allocations: 29.92 kB / 0.9124 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1363, allocations: 117.3 kB / 0.9125 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.1363, allocations: 4 kB / 0.9126 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.00569/0.142, allocations: 4.165 MB / 0.9166 GB, free: 5.484 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.086173084098846]