Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_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.0008556/0.0008556, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004413/0.004413, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8261/0.8261, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 8.5 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 82.31 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.2625/0.3947, allocations: 59.23 MB / 0.6459 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.408, allocations: 14.54 MB / 0.6601 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4096, allocations: 54.78 kB / 0.6602 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.4108, allocations: 0.5809 MB / 0.6607 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.4145, allocations: 2.082 MB / 0.6628 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.4172, allocations: 1.495 MB / 0.6642 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004153/0.4214, allocations: 5.261 MB / 0.6694 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.4226, allocations: 1.034 MB / 0.6704 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.4246, allocations: 1.325 MB / 0.6717 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.4257, allocations: 1.056 MB / 0.6727 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.4258, allocations: 50.78 kB / 0.6728 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.4285, allocations: 1.581 MB / 0.6743 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.4287, allocations: 249.5 kB / 0.6745 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005688/0.4293, allocations: 0.7213 MB / 0.6752 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.4321, allocations: 2.606 MB / 0.6778 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4322, allocations: 0 / 0.6778 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4322, allocations: 0 / 0.6778 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.4322, allocations: 1.438 kB / 0.6778 GB, free: 15.44 MB / 0.5137 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.002413/0.4346, allocations: 1.571 MB / 0.6793 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4347, allocations: 10.06 kB / 0.6793 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.4348, allocations: 137.1 kB / 0.6795 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.4352, allocations: 174.6 kB / 0.6796 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.437, allocations: 1.283 MB / 0.6809 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.4371, allocations: 64.92 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.4372, allocations: 90.19 kB / 0.681 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.4387, allocations: 0.959 MB / 0.682 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.4387, allocations: 5.875 kB / 0.682 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.4388, allocations: 36.25 kB / 0.682 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.4388, allocations: 28.06 kB / 0.682 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4399, allocations: 0.6654 MB / 0.6827 GB, free: 12.6 MB / 0.5137 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.004878/0.4448, allocations: 5.218 MB / 0.6878 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.4455, allocations: 399.6 kB / 0.6882 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.4459, allocations: 243.2 kB / 0.6884 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.4471, allocations: 1.602 MB / 0.69 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4471, allocations: 47.98 kB / 0.69 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.4471, allocations: 0 / 0.69 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002021/0.4491, allocations: 0.951 MB / 0.6909 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4492, allocations: 58.09 kB / 0.691 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4505, allocations: 0.9812 MB / 0.6919 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.4505, allocations: 37.55 kB / 0.692 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.4509, allocations: 0.5837 MB / 0.6925 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4511, allocations: 190.7 kB / 0.6927 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.4512, allocations: 56.72 kB / 0.6928 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.4513, allocations: 332.9 kB / 0.6931 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.4516, allocations: 205.4 kB / 0.6933 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.4521, allocations: 395.8 kB / 0.6937 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.4529, allocations: 0.6318 MB / 0.6943 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.4529, allocations: 5.438 kB / 0.6943 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001487/0.4544, allocations: 0.821 MB / 0.6951 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.4546, allocations: 266.1 kB / 0.6954 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4546, allocations: 12.05 kB / 0.6954 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.4551, allocations: 114.7 kB / 0.6955 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.4555, allocations: 142.4 kB / 0.6956 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/0.456, allocations: 0.5992 MB / 0.6962 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.4567, allocations: 110.9 kB / 0.6963 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.4568, allocations: 39.45 kB / 0.6963 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.4568, allocations: 4.25 kB / 0.6963 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.4581, allocations: 0.704 MB / 0.697 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.4582, allocations: 8.812 kB / 0.697 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/0.4586, allocations: 119.3 kB / 0.6972 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.459, allocations: 138.4 kB / 0.6973 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/0.4594, allocations: 0.5962 MB / 0.6979 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.46, allocations: 109.5 kB / 0.698 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.4601, allocations: 38.8 kB / 0.698 GB, free: 1.371 MB / 0.5137 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.0004034/0.4605, allocations: 377.7 kB / 0.6984 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.4607, allocations: 110.8 kB / 0.6985 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.4625, allocations: 1.07 MB / 0.6995 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.4626, allocations: 15.58 kB / 0.6995 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4626, allocations: 0 / 0.6995 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/0.4638, allocations: 0.8102 MB / 0.7003 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.4668, allocations: 2.089 MB / 0.7024 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4668, allocations: 7.688 kB / 0.7024 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.4671, allocations: 105.5 kB / 0.7025 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/0.4674, allocations: 62.72 kB / 0.7025 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.4675, allocations: 26.47 kB / 0.7026 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/0.4678, allocations: 0.5914 MB / 0.7031 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4678, allocations: 1.172 kB / 0.7031 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.4697, allocations: 1.315 MB / 0.7044 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.4701, allocations: 321.1 kB / 0.7047 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4702, allocations: 15.78 kB / 0.7047 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.4708, allocations: 84.69 kB / 0.7048 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.4709, allocations: 53.41 kB / 0.7049 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.471, allocations: 30.3 kB / 0.7049 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008518/0.4719, allocations: 0.6737 MB / 0.7056 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4719, allocations: 0 / 0.7056 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00177/0.4736, allocations: 0.7346 MB / 0.7063 GB, free: 13.17 MB / 0.5294 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.002739/0.4764, allocations: 2.302 MB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.4779, allocations: 1.055 MB / 0.7096 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4779, allocations: 3 kB / 0.7096 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.4785, allocations: 430.3 kB / 0.71 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.481, allocations: 0.5789 MB / 0.7105 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.4936, allocations: 8.79 MB / 0.7191 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4942, allocations: 1.133 MB / 0.7202 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009299/0.4951, allocations: 315.4 kB / 0.7205 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005372/0.4956, allocations: 495.2 kB / 0.721 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.4957, allocations: 0 / 0.721 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6717/1.167, allocations: 35.47 MB / 0.7556 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/1.168, allocations: 287.2 kB / 0.7559 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/4.157, allocations: 0 / 0.7559 GB, free: 14.94 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)