Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="IDEAS_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.0007673/0.0007674, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004313/0.004313, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7337/0.7337, allocations: 132.3 MB / 423.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8.656 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4419, allocations: 81.58 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06055/0.5025, allocations: 59.23 MB / 0.6416 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.5251, allocations: 14.54 MB / 0.6558 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.5279, allocations: 55.62 kB / 0.6559 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.5302, allocations: 0.5788 MB / 0.6564 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.5368, allocations: 2.087 MB / 0.6585 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.5417, allocations: 1.502 MB / 0.6599 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007594/0.5493, allocations: 5.258 MB / 0.6651 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.5513, allocations: 1.036 MB / 0.6661 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.5546, allocations: 1.326 MB / 0.6674 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.5567, allocations: 1.05 MB / 0.6684 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003301/0.557, allocations: 52 kB / 0.6684 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.5609, allocations: 1.582 MB / 0.67 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.5614, allocations: 254.8 kB / 0.6702 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.5626, allocations: 0.7206 MB / 0.6709 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.5669, allocations: 2.597 MB / 0.6735 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5669, allocations: 4 kB / 0.6735 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5669, allocations: 0 / 0.6735 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.905e-05/0.5669, allocations: 0 / 0.6735 GB, free: 4.238 MB / 0.4981 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.00285/0.5698, allocations: 1.577 MB / 0.675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.5699, allocations: 16.03 kB / 0.675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.57, allocations: 131.5 kB / 0.6752 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.5704, allocations: 166.1 kB / 0.6753 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.5725, allocations: 1.284 MB / 0.6766 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.5726, allocations: 70 kB / 0.6766 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5727, allocations: 84 kB / 0.6767 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.5743, allocations: 0.9553 MB / 0.6776 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5743, allocations: 7.938 kB / 0.6777 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.5744, allocations: 39.94 kB / 0.6777 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.5745, allocations: 20 kB / 0.6777 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.5756, allocations: 0.6674 MB / 0.6784 GB, free: 15.07 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.006265/0.5819, allocations: 5.224 MB / 0.6835 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.5827, allocations: 401.9 kB / 0.6838 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.5831, allocations: 246.1 kB / 0.6841 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.5845, allocations: 1.599 MB / 0.6856 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5846, allocations: 39 kB / 0.6857 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.836e-06/0.5846, allocations: 0 / 0.6857 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002269/0.5868, allocations: 0.9485 MB / 0.6866 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.5869, allocations: 55.84 kB / 0.6867 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.5883, allocations: 0.985 MB / 0.6876 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.5884, allocations: 41.64 kB / 0.6877 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.5888, allocations: 0.5813 MB / 0.6882 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.589, allocations: 189.3 kB / 0.6884 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.5891, allocations: 61.69 kB / 0.6885 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5892, allocations: 337.9 kB / 0.6888 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.5896, allocations: 197.6 kB / 0.689 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.59, allocations: 397 kB / 0.6894 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008538/0.5909, allocations: 0.6373 MB / 0.69 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5909, allocations: 0 / 0.69 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001689/0.5926, allocations: 0.8265 MB / 0.6908 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.5928, allocations: 277.2 kB / 0.6911 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.5928, allocations: 8 kB / 0.6911 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.5934, allocations: 100.7 kB / 0.6912 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.5938, allocations: 147.7 kB / 0.6913 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004714/0.5943, allocations: 0.5914 MB / 0.6919 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008599/0.5952, allocations: 115.4 kB / 0.692 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/0.5953, allocations: 35.98 kB / 0.692 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.5953, allocations: 10.5 kB / 0.692 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001413/0.5967, allocations: 0.7048 MB / 0.6927 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.5967, allocations: 8.469 kB / 0.6927 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.5972, allocations: 112.7 kB / 0.6928 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.5976, allocations: 139.8 kB / 0.693 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.5981, allocations: 0.5991 MB / 0.6936 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.5989, allocations: 107.4 kB / 0.6937 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.599, allocations: 35.98 kB / 0.6937 GB, free: 14.2 MB / 0.5294 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.000567/0.5996, allocations: 372.8 kB / 0.694 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5998, allocations: 110.7 kB / 0.6942 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.6018, allocations: 1.067 MB / 0.6952 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.6018, allocations: 15.98 kB / 0.6952 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6018, allocations: 0 / 0.6952 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.6031, allocations: 0.8147 MB / 0.696 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.6064, allocations: 2.083 MB / 0.698 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.6065, allocations: 4 kB / 0.698 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.6069, allocations: 103.8 kB / 0.6981 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.6072, allocations: 76.81 kB / 0.6982 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.6073, allocations: 23.92 kB / 0.6982 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004299/0.6077, allocations: 0.5877 MB / 0.6988 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6077, allocations: 0 / 0.6988 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.6098, allocations: 1.321 MB / 0.7001 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.6103, allocations: 315.3 kB / 0.7004 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6104, allocations: 27.94 kB / 0.7004 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.6111, allocations: 83.83 kB / 0.7005 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6112, allocations: 48.48 kB / 0.7006 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/0.6113, allocations: 31.98 kB / 0.7006 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001008/0.6123, allocations: 0.6765 MB / 0.7012 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6123, allocations: 4 kB / 0.7012 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001895/0.6142, allocations: 0.7328 MB / 0.702 GB, free: 5.539 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.003369/0.6176, allocations: 2.294 MB / 0.7042 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.6194, allocations: 1.056 MB / 0.7052 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6195, allocations: 0.625 kB / 0.7052 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.62, allocations: 430.5 kB / 0.7056 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.623, allocations: 0.5698 MB / 0.7062 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6372, allocations: 8.794 MB / 0.7148 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.6379, allocations: 1.141 MB / 0.7159 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00111/0.639, allocations: 312.4 kB / 0.7162 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/0.6396, allocations: 499.2 kB / 0.7167 GB, free: 5.941 MB / 0.545 GB Notification: Performance of SimCode: time 9.81e-07/0.6396, allocations: 0 / 0.7167 GB, free: 5.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5146/1.154, allocations: 35.45 MB / 0.7513 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.154, allocations: 288 kB / 0.7516 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.943, allocations: 0 / 0.7516 GB, free: 2.699 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)