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.0008094/0.0008095, allocations: 88.17 kB / 15.7 MB, free: 460 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.000798/0.000798, allocations: 178.4 kB / 16.59 MB, free: 6.852 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.236/1.236, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6202/0.6202, allocations: 113.7 MB / 405.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 15.98 kB / 493.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 77.1 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3073/0.4427, allocations: 56 MB / 0.6116 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.4621, allocations: 13.73 MB / 0.625 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.4648, allocations: 55.34 kB / 0.625 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001905/0.4667, allocations: 0.4925 MB / 0.6255 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.4725, allocations: 1.784 MB / 0.6273 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.4768, allocations: 1.202 MB / 0.6284 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00674/0.4835, allocations: 4.529 MB / 0.6329 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.4854, allocations: 0.9059 MB / 0.6337 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.4885, allocations: 1.263 MB / 0.635 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.4904, allocations: 0.9862 MB / 0.6359 GB, free: 5.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.4906, allocations: 55.84 kB / 0.636 GB, free: 5.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.4938, allocations: 1.222 MB / 0.6372 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.4941, allocations: 237.5 kB / 0.6374 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.4946, allocations: 314.3 kB / 0.6377 GB, free: 4.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.4968, allocations: 1.922 MB / 0.6396 GB, free: 3.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4968, allocations: 0 / 0.6396 GB, free: 3.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4968, allocations: 0 / 0.6396 GB, free: 3.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.4968, allocations: 0 / 0.6396 GB, free: 3.191 MB / 462.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.002381/0.4992, allocations: 1.581 MB / 0.6411 GB, free: 1.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4992, allocations: 12.41 kB / 0.6411 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.4994, allocations: 141.3 kB / 0.6413 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.4997, allocations: 156.4 kB / 0.6414 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5016, allocations: 1.249 MB / 0.6427 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.5017, allocations: 69 kB / 0.6427 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5018, allocations: 83.47 kB / 0.6428 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.5031, allocations: 0.9603 MB / 0.6437 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.5032, allocations: 3.906 kB / 0.6437 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.5033, allocations: 39.03 kB / 0.6438 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.5033, allocations: 19.78 kB / 0.6438 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5043, allocations: 0.661 MB / 0.6444 GB, free: 15.73 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.004986/0.5093, allocations: 5.227 MB / 0.6495 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.51, allocations: 396.6 kB / 0.6499 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.5103, allocations: 245.3 kB / 0.6502 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.5116, allocations: 1.601 MB / 0.6517 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5116, allocations: 42.94 kB / 0.6518 GB, free: 8.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.5116, allocations: 0 / 0.6518 GB, free: 8.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.00204/0.5137, allocations: 0.9408 MB / 0.6527 GB, free: 7.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5137, allocations: 59.84 kB / 0.6527 GB, free: 7.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.515, allocations: 0.9733 MB / 0.6537 GB, free: 6.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.5151, allocations: 33.7 kB / 0.6537 GB, free: 6.633 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.5155, allocations: 0.5813 MB / 0.6543 GB, free: 6.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.5157, allocations: 193.2 kB / 0.6545 GB, free: 5.852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.5158, allocations: 12 kB / 0.6545 GB, free: 5.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5159, allocations: 334 kB / 0.6548 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.5162, allocations: 193.6 kB / 0.655 GB, free: 5.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.5166, allocations: 401.6 kB / 0.6554 GB, free: 4.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5171, allocations: 262.1 kB / 0.6556 GB, free: 4.598 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5171, allocations: 0 / 0.6556 GB, free: 4.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001464/0.5185, allocations: 0.8301 MB / 0.6564 GB, free: 3.762 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.5187, allocations: 265.5 kB / 0.6567 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5187, allocations: 11.98 kB / 0.6567 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.5192, allocations: 112.7 kB / 0.6568 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.5196, allocations: 135.8 kB / 0.6569 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004297/0.5201, allocations: 0.5914 MB / 0.6575 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.5209, allocations: 115.3 kB / 0.6576 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.5209, allocations: 47.86 kB / 0.6577 GB, free: 2.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.521, allocations: 4 kB / 0.6577 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/0.5222, allocations: 0.6973 MB / 0.6584 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5223, allocations: 8 kB / 0.6584 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.5227, allocations: 113 kB / 0.6585 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.5231, allocations: 139.8 kB / 0.6586 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003902/0.5235, allocations: 0.5953 MB / 0.6592 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.5242, allocations: 103.4 kB / 0.6593 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.5243, allocations: 35.98 kB / 0.6593 GB, free: 0.668 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.5248, allocations: 380.8 kB / 0.6597 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.5249, allocations: 122.5 kB / 0.6598 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.5268, allocations: 1.061 MB / 0.6608 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.5268, allocations: 11.98 kB / 0.6608 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5268, allocations: 3.938 kB / 0.6608 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.528, allocations: 0.8108 MB / 0.6616 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.5312, allocations: 2.079 MB / 0.6637 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.5313, allocations: 3.984 kB / 0.6637 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.5316, allocations: 103.8 kB / 0.6638 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.5319, allocations: 76.86 kB / 0.6638 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.532, allocations: 23.98 kB / 0.6639 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003786/0.5324, allocations: 0.5836 MB / 0.6644 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5324, allocations: 4.031 kB / 0.6644 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5343, allocations: 1.31 MB / 0.6657 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.5348, allocations: 319.4 kB / 0.666 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.5349, allocations: 24.05 kB / 0.666 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.5355, allocations: 75.84 kB / 0.6661 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.5356, allocations: 60.44 kB / 0.6662 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.5357, allocations: 35.97 kB / 0.6662 GB, free: 9.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009098/0.5366, allocations: 0.6608 MB / 0.6669 GB, free: 8.758 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5366, allocations: 0 / 0.6669 GB, free: 8.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001738/0.5384, allocations: 0.7289 MB / 0.6676 GB, free: 8.027 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/0.5412, allocations: 2.27 MB / 0.6698 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.5429, allocations: 1.045 MB / 0.6708 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.5429, allocations: 12.06 kB / 0.6708 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.5434, allocations: 418.5 kB / 0.6712 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.5458, allocations: 0.5771 MB / 0.6718 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5577, allocations: 6.797 MB / 0.6784 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.5584, allocations: 1.129 MB / 0.6795 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001177/0.5596, allocations: 310.5 kB / 0.6798 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/0.5602, allocations: 499.2 kB / 0.6803 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.5602, allocations: 0 / 0.6803 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0593/0.6195, allocations: 37.34 MB / 0.7168 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.6198, allocations: 275 kB / 0.717 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.033, allocations: 0 / 0.717 GB, free: 5.469 MB / 0.5294 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/linux/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) Environment - environmentSimulation: