Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.2 kB / 16.92 MB, free: 6.898 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.263/1.263, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.641/0.641, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 8.969 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.2877/0.4263, allocations: 59.22 MB / 0.6179 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.4455, allocations: 14.57 MB / 0.6321 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.4478, allocations: 55.31 kB / 0.6322 GB, free: 5.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.4497, allocations: 0.5907 MB / 0.6327 GB, free: 5.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.4553, allocations: 2.084 MB / 0.6348 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.4592, allocations: 1.486 MB / 0.6362 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.4649, allocations: 5.289 MB / 0.6414 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.4665, allocations: 1.032 MB / 0.6424 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.4691, allocations: 1.32 MB / 0.6437 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.4709, allocations: 1.046 MB / 0.6447 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.4711, allocations: 52.19 kB / 0.6448 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.4745, allocations: 1.584 MB / 0.6463 GB, free: 12.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.4748, allocations: 251.6 kB / 0.6465 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009482/0.4758, allocations: 0.7136 MB / 0.6472 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.4791, allocations: 2.611 MB / 0.6498 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4791, allocations: 0 / 0.6498 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4791, allocations: 0 / 0.6498 GB, free: 10.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.4791, allocations: 0 / 0.6498 GB, free: 10.5 MB / 478.1 MB 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.002365/0.4815, allocations: 1.577 MB / 0.6513 GB, free: 9.129 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4816, allocations: 8.031 kB / 0.6513 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.4817, allocations: 135.5 kB / 0.6515 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.4821, allocations: 170.8 kB / 0.6516 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.4839, allocations: 1.28 MB / 0.6529 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.484, allocations: 66 kB / 0.6529 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4841, allocations: 88 kB / 0.653 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.4855, allocations: 0.9592 MB / 0.654 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4855, allocations: 3.938 kB / 0.654 GB, free: 6.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.4856, allocations: 36 kB / 0.654 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.4856, allocations: 28 kB / 0.654 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4867, allocations: 0.6713 MB / 0.6547 GB, free: 5.582 MB / 478.1 MB 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.004746/0.4914, allocations: 5.228 MB / 0.6598 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/0.4921, allocations: 403.3 kB / 0.6602 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.4925, allocations: 250.1 kB / 0.6604 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.4937, allocations: 1.599 MB / 0.662 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.4937, allocations: 42.98 kB / 0.662 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.4937, allocations: 0 / 0.662 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=53): time 0.002079/0.4958, allocations: 0.9407 MB / 0.6629 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.4959, allocations: 59.84 kB / 0.663 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4971, allocations: 0.9888 MB / 0.664 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.4971, allocations: 37.7 kB / 0.664 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.4975, allocations: 0.5735 MB / 0.6646 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.4977, allocations: 193.2 kB / 0.6647 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.4978, allocations: 61.69 kB / 0.6648 GB, free: 10.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4979, allocations: 330 kB / 0.6651 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.4982, allocations: 197.5 kB / 0.6653 GB, free: 9.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.4986, allocations: 401 kB / 0.6657 GB, free: 9.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.4995, allocations: 0.6295 MB / 0.6663 GB, free: 8.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4995, allocations: 4 kB / 0.6663 GB, free: 8.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001479/0.501, allocations: 0.8382 MB / 0.6671 GB, free: 7.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.5011, allocations: 261.2 kB / 0.6674 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5011, allocations: 11.98 kB / 0.6674 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.5016, allocations: 101.5 kB / 0.6675 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.5021, allocations: 151.7 kB / 0.6676 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004183/0.5025, allocations: 0.5991 MB / 0.6682 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.5032, allocations: 115.2 kB / 0.6683 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5033, allocations: 35.98 kB / 0.6683 GB, free: 6.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.5033, allocations: 10.66 kB / 0.6684 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/0.5047, allocations: 0.7048 MB / 0.669 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5047, allocations: 11.94 kB / 0.6691 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.5051, allocations: 109.2 kB / 0.6692 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.5055, allocations: 139.8 kB / 0.6693 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003911/0.5059, allocations: 0.5953 MB / 0.6699 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.5066, allocations: 107.4 kB / 0.67 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5067, allocations: 35.98 kB / 0.67 GB, free: 4.707 MB / 494.1 MB 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.0004525/0.5072, allocations: 376.8 kB / 0.6704 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5073, allocations: 114.6 kB / 0.6705 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.5092, allocations: 1.066 MB / 0.6715 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.5092, allocations: 15.98 kB / 0.6715 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5092, allocations: 3.938 kB / 0.6715 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/0.5105, allocations: 0.8108 MB / 0.6723 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.5135, allocations: 2.083 MB / 0.6744 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.5135, allocations: 8 kB / 0.6744 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.5139, allocations: 99.83 kB / 0.6745 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.5142, allocations: 80.7 kB / 0.6745 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.5143, allocations: 16 kB / 0.6746 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/0.5147, allocations: 0.6031 MB / 0.6752 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5147, allocations: 3.938 kB / 0.6752 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.5167, allocations: 1.318 MB / 0.6764 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.5172, allocations: 315.3 kB / 0.6767 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5173, allocations: 12 kB / 0.6768 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/0.518, allocations: 83.78 kB / 0.6768 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5181, allocations: 56.42 kB / 0.6769 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.5182, allocations: 35.97 kB / 0.6769 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00101/0.5192, allocations: 0.6725 MB / 0.6776 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.956e-06/0.5192, allocations: 4 kB / 0.6776 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002049/0.5213, allocations: 0.7405 MB / 0.6783 GB, free: 12.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002947/0.5242, allocations: 2.291 MB / 0.6805 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.5259, allocations: 1.056 MB / 0.6816 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.526, allocations: 0.625 kB / 0.6816 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.5265, allocations: 438.5 kB / 0.682 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.5292, allocations: 0.563 MB / 0.6825 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.5425, allocations: 8.798 MB / 0.6911 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.5431, allocations: 1.141 MB / 0.6922 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009812/0.5441, allocations: 306.5 kB / 0.6925 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/0.5447, allocations: 495.2 kB / 0.693 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5447, allocations: 0 / 0.693 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9314/1.476, allocations: 35.48 MB / 0.7277 GB, free: 9.523 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/1.476, allocations: 297.2 kB / 0.7279 GB, free: 9.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/4.367, allocations: 0 / 0.7279 GB, free: 9.141 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)