Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001611/0.001611, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002347, allocations: 279.2 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.9899/0.9899, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4095, allocations: 86.98 MB / 0.7671 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05854/0.4681, allocations: 60.7 MB / 0.8263 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4878, allocations: 14.67 MB / 0.8407 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.49, allocations: 63.62 kB / 0.8407 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.4921, allocations: 0.7336 MB / 0.8414 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.4984, allocations: 2.363 MB / 0.8437 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004906/0.5033, allocations: 1.698 MB / 0.8454 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006486/0.5098, allocations: 4.04 MB / 0.8493 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.5123, allocations: 1.278 MB / 0.8506 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.5163, allocations: 1.621 MB / 0.8522 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.5182, allocations: 1.093 MB / 0.8532 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/0.5186, allocations: 136 kB / 0.8534 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.5224, allocations: 1.712 MB / 0.855 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.5229, allocations: 338.8 kB / 0.8554 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.5243, allocations: 0.7893 MB / 0.8561 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.5291, allocations: 2.725 MB / 0.8588 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5291, allocations: 0 / 0.8588 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5291, allocations: 4 kB / 0.8588 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.912e-05/0.5292, allocations: 4 kB / 0.8588 GB, free: 5.77 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003534/0.5327, allocations: 1.849 MB / 0.8606 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5328, allocations: 8.031 kB / 0.8606 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.5333, allocations: 163.1 kB / 0.8608 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.5358, allocations: 1.304 MB / 0.8621 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.5358, allocations: 69.94 kB / 0.8621 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.536, allocations: 84 kB / 0.8622 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.5376, allocations: 0.9514 MB / 0.8631 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.5377, allocations: 3.984 kB / 0.8631 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.5378, allocations: 39.98 kB / 0.8632 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.5378, allocations: 24 kB / 0.8632 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.539, allocations: 0.6713 MB / 0.8638 GB, free: 460 kB / 0.6231 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.00583/0.5449, allocations: 5.216 MB / 0.8689 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.5457, allocations: 410.8 kB / 0.8693 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.5461, allocations: 242 kB / 0.8696 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.5476, allocations: 1.595 MB / 0.8711 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5477, allocations: 42.98 kB / 0.8712 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.5477, allocations: 4 kB / 0.8712 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.00243/0.5501, allocations: 0.9367 MB / 0.8721 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5502, allocations: 55.84 kB / 0.8721 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.5516, allocations: 1.001 MB / 0.8731 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/0.5517, allocations: 37.7 kB / 0.8731 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.5522, allocations: 0.5813 MB / 0.8737 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.5524, allocations: 193.3 kB / 0.8739 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.5526, allocations: 138.2 kB / 0.874 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5527, allocations: 330 kB / 0.8743 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.5531, allocations: 207.7 kB / 0.8745 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.5536, allocations: 402.8 kB / 0.8749 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.5546, allocations: 0.6256 MB / 0.8755 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5546, allocations: 0 / 0.8755 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001736/0.5563, allocations: 0.83 MB / 0.8764 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5564, allocations: 10.97 kB / 0.8764 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.5564, allocations: 11.98 kB / 0.8764 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.557, allocations: 109.2 kB / 0.8765 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.5575, allocations: 147.7 kB / 0.8766 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005513/0.558, allocations: 0.5953 MB / 0.8772 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.5588, allocations: 75.2 kB / 0.8773 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/0.5589, allocations: 44.05 kB / 0.8773 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007062/0.5596, allocations: 429.7 kB / 0.8777 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005216/0.5601, allocations: 400.9 kB / 0.8781 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009149/0.561, allocations: 0.6256 MB / 0.8787 GB, free: 0 / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.24e-05/0.5611, allocations: 4.047 kB / 0.8787 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001726/0.5628, allocations: 0.83 MB / 0.8795 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5628, allocations: 8 kB / 0.8795 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.5628, allocations: 8 kB / 0.8795 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.5633, allocations: 105.2 kB / 0.8796 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5638, allocations: 139.8 kB / 0.8798 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004886/0.5643, allocations: 0.5953 MB / 0.8804 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.565, allocations: 63.58 kB / 0.8804 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.5651, allocations: 35.98 kB / 0.8805 GB, free: 14.18 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.5653, allocations: 226.1 kB / 0.8807 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.5656, allocations: 122.5 kB / 0.8808 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.5677, allocations: 1.057 MB / 0.8818 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/0.5691, allocations: 0.807 MB / 0.8826 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.5691, allocations: 7.922 kB / 0.8826 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.5696, allocations: 303.3 kB / 0.8829 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.5698, allocations: 15.94 kB / 0.8829 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.5704, allocations: 19.98 kB / 0.8829 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5705, allocations: 60.42 kB / 0.883 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001684/0.5722, allocations: 0.8824 MB / 0.8839 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001854/0.5741, allocations: 1.337 MB / 0.8852 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004713/0.5746, allocations: 340.8 kB / 0.8855 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001026/0.5756, allocations: 0.6843 MB / 0.8862 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of Backend: time 4.71e-07/0.5756, allocations: 0 / 0.8862 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.579, allocations: 1.428 MB / 0.8876 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004954/0.584, allocations: 2.969 MB / 0.8905 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of Templates: time 0.04694/0.6309, allocations: 29.88 MB / 0.9196 GB, free: 6.277 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)