Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 117.4 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 291.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9679/0.9679, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 95.84 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4715, allocations: 86.98 MB / 0.7671 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.08868/0.5602, allocations: 87.5 MB / 0.8525 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04508/0.6053, allocations: 32.09 MB / 0.8839 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005175/0.6106, allocations: 171 kB / 0.884 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005225/0.6158, allocations: 1.759 MB / 0.8858 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01609/0.632, allocations: 5.343 MB / 0.891 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02452/0.6565, allocations: 9.839 MB / 0.9006 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01721/0.6738, allocations: 13.16 MB / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006899/0.6807, allocations: 4.094 MB / 0.9174 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.6912, allocations: 5.432 MB / 0.9227 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008384/0.6996, allocations: 4.765 MB / 0.9274 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.7016, allocations: 464 kB / 0.9278 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008136/0.7098, allocations: 2.738 MB / 0.9305 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.7133, allocations: 2.092 MB / 0.9326 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006501/0.7198, allocations: 2.835 MB / 0.9353 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.7343, allocations: 8.565 MB / 0.9437 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7344, allocations: 0 / 0.9437 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7344, allocations: 0 / 0.9437 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002956/0.7347, allocations: 4 kB / 0.9437 GB, free: 14.33 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01766/0.7523, allocations: 5.974 MB / 0.9495 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.7524, allocations: 11.97 kB / 0.9495 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.7556, allocations: 0.5834 MB / 0.9501 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/0.7632, allocations: 3.358 MB / 0.9534 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.7635, allocations: 295.2 kB / 0.9537 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.7646, allocations: 387.8 kB / 0.954 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4034/1.168, allocations: 6.012 MB / 0.9599 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.168, allocations: 11.31 kB / 0.9599 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004746/1.169, allocations: 166.5 kB / 0.9601 GB, free: 174 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008142/1.169, allocations: 458.8 kB / 0.9605 GB, free: 174 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008905/1.178, allocations: 5.341 MB / 0.9657 GB, free: 172.2 MB / 0.7169 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.02644/1.205, allocations: 24.26 MB / 0.9894 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005826/1.211, allocations: 4.497 MB / 0.9938 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/1.213, allocations: 2.435 MB / 0.9962 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/1.229, allocations: 12.39 MB / 1.008 GB, free: 137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002819/1.232, allocations: 2.241 MB / 1.01 GB, free: 134.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001647/1.234, allocations: 439.7 kB / 1.011 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=310): time 6.482e-06/1.234, allocations: 1.875 kB / 1.011 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=334): time 0.02346/1.257, allocations: 13.16 MB / 1.024 GB, free: 121.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.257, allocations: 115.7 kB / 1.024 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/1.261, allocations: 3.152 MB / 1.027 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003365/1.262, allocations: 93.7 kB / 1.027 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.263, allocations: 2.054 MB / 1.029 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/1.263, allocations: 1.157 MB / 1.03 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009563/1.264, allocations: 0.7672 MB / 1.031 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.74e-05/1.264, allocations: 305.1 kB / 1.031 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.267, allocations: 1.969 MB / 1.033 GB, free: 111.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/1.27, allocations: 2.988 MB / 1.036 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/1.275, allocations: 5.21 MB / 1.041 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.275, allocations: 15.94 kB / 1.041 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.007438/1.283, allocations: 5.606 MB / 1.047 GB, free: 96.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.283, allocations: 16 kB / 1.047 GB, free: 96.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.283, allocations: 28 kB / 1.047 GB, free: 96.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.328e-05/1.283, allocations: 48 kB / 1.047 GB, free: 96.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0317/1.314, allocations: 4.107 MB / 1.051 GB, free: 92.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.317, allocations: 3.969 MB / 1.055 GB, free: 88.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004812/1.321, allocations: 215.9 kB / 1.055 GB, free: 88.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.323, allocations: 199.9 kB / 1.055 GB, free: 88.24 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004936/1.327, allocations: 2.842 MB / 1.058 GB, free: 85.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00338/1.331, allocations: 2.944 MB / 1.061 GB, free: 82.01 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006173/1.337, allocations: 5.08 MB / 1.066 GB, free: 76.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-05/1.337, allocations: 8 kB / 1.066 GB, free: 76.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.0082/1.345, allocations: 5.453 MB / 1.071 GB, free: 71.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.345, allocations: 19.94 kB / 1.071 GB, free: 70.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.345, allocations: 28 kB / 1.071 GB, free: 70.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/1.345, allocations: 56.03 kB / 1.071 GB, free: 70.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/1.351, allocations: 1.342 MB / 1.072 GB, free: 69.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-05/1.351, allocations: 63.8 kB / 1.072 GB, free: 69.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.354, allocations: 227.7 kB / 1.073 GB, free: 69.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/1.355, allocations: 191.9 kB / 1.073 GB, free: 69.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009056/1.355, allocations: 434.7 kB / 1.073 GB, free: 68.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/1.356, allocations: 403 kB / 1.074 GB, free: 68.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007626/1.364, allocations: 5.381 MB / 1.079 GB, free: 62.92 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005065/1.369, allocations: 4.273 MB / 1.083 GB, free: 58.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.369, allocations: 0 / 1.083 GB, free: 58.58 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.371, allocations: 0.9522 MB / 1.084 GB, free: 57.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/1.371, allocations: 79.98 kB / 1.084 GB, free: 57.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.374, allocations: 147.8 kB / 1.084 GB, free: 57.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/1.374, allocations: 226.7 kB / 1.084 GB, free: 57.16 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009629/1.384, allocations: 5.432 MB / 1.09 GB, free: 51.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008902/1.393, allocations: 7.655 MB / 1.097 GB, free: 44.02 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002351/1.395, allocations: 2.257 MB / 1.099 GB, free: 41.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002493/1.397, allocations: 2.095 MB / 1.101 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of Backend: time 2.1e-07/1.397, allocations: 0 / 1.101 GB, free: 39.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.05284/1.45, allocations: 11.09 MB / 1.112 GB, free: 29.02 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01458/1.465, allocations: 9.927 MB / 1.122 GB, free: 19.08 MB / 0.7169 GB Notification: Performance of Templates: time 0.1539/1.619, allocations: 103 MB / 1.223 GB, free: 13.14 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)