Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.0009947/0.0009944, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8108/0.8108, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003349, allocations: 9 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4789, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07323/0.5522, allocations: 70.9 MB / 0.6524 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02818/0.5804, allocations: 18.72 MB / 0.6707 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.5839, allocations: 71.56 kB / 0.6707 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.5871, allocations: 0.6948 MB / 0.6714 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007931/0.595, allocations: 2.266 MB / 0.6736 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005635/0.6007, allocations: 1.542 MB / 0.6751 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008456/0.6091, allocations: 5.778 MB / 0.6808 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.6124, allocations: 1.236 MB / 0.682 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.617, allocations: 1.68 MB / 0.6836 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.62, allocations: 1.345 MB / 0.6849 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.6207, allocations: 72 kB / 0.685 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.6254, allocations: 1.388 MB / 0.6864 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008262/0.6262, allocations: 338.4 kB / 0.6867 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.6275, allocations: 424.6 kB / 0.6871 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.6318, allocations: 2.47 MB / 0.6895 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6318, allocations: 0 / 0.6895 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6318, allocations: 0 / 0.6895 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001194/0.6319, allocations: 0 / 0.6895 GB, free: 3.359 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004877/0.6368, allocations: 2.147 MB / 0.6916 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6369, allocations: 12.03 kB / 0.6916 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004003/0.6373, allocations: 181.7 kB / 0.6918 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.6391, allocations: 437.1 kB / 0.6922 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.6429, allocations: 1.726 MB / 0.6939 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.643, allocations: 94.44 kB / 0.694 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.6433, allocations: 131.9 kB / 0.6941 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.646, allocations: 1.43 MB / 0.6955 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.646, allocations: 4 kB / 0.6955 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6461, allocations: 52 kB / 0.6956 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.6462, allocations: 36 kB / 0.6956 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.6485, allocations: 1.086 MB / 0.6966 GB, free: 11.8 MB / 0.5294 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.008758/0.6572, allocations: 7.864 MB / 0.7043 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.6604, allocations: 1.077 MB / 0.7054 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.6612, allocations: 439.9 kB / 0.7058 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.6629, allocations: 1.868 MB / 0.7076 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.6639, allocations: 0.5061 MB / 0.7081 GB, free: 15.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.6639, allocations: 0 / 0.7081 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.002747/0.6667, allocations: 1.297 MB / 0.7094 GB, free: 13.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.6667, allocations: 85.77 kB / 0.7095 GB, free: 13.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.6689, allocations: 1.375 MB / 0.7108 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.908e-05/0.6689, allocations: 41.7 kB / 0.7108 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.6696, allocations: 0.8216 MB / 0.7117 GB, free: 11.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.6699, allocations: 295.8 kB / 0.7119 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.67, allocations: 20 kB / 0.712 GB, free: 11.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6701, allocations: 345.9 kB / 0.7123 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.6709, allocations: 370.4 kB / 0.7126 GB, free: 10.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.6718, allocations: 0.6754 MB / 0.7133 GB, free: 9.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008764/0.6727, allocations: 458.8 kB / 0.7137 GB, free: 9.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.6727, allocations: 4 kB / 0.7137 GB, free: 9.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00236/0.6751, allocations: 1.261 MB / 0.715 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.6753, allocations: 364.2 kB / 0.7153 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.6754, allocations: 12 kB / 0.7153 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.6754, allocations: 16 kB / 0.7153 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.6763, allocations: 251.6 kB / 0.7156 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.6763, allocations: 19.92 kB / 0.7156 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.6775, allocations: 198.7 kB / 0.7158 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6776, allocations: 51.98 kB / 0.7158 GB, free: 6.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.6777, allocations: 7.953 kB / 0.7158 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/0.6797, allocations: 1.082 MB / 0.7169 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.6797, allocations: 16.16 kB / 0.7169 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.6797, allocations: 16 kB / 0.7169 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/0.6806, allocations: 251.6 kB / 0.7172 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.6806, allocations: 19.92 kB / 0.7172 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.6818, allocations: 179 kB / 0.7174 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6819, allocations: 59.92 kB / 0.7174 GB, free: 5.168 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006818/0.6826, allocations: 449.4 kB / 0.7178 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.6829, allocations: 169.9 kB / 0.718 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.6857, allocations: 1.467 MB / 0.7194 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.6858, allocations: 19.98 kB / 0.7195 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6858, allocations: 0 / 0.7195 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001897/0.6877, allocations: 1.121 MB / 0.7206 GB, free: 1.926 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.004829/0.6925, allocations: 2.942 MB / 0.7234 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.6926, allocations: 4 kB / 0.7234 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.6933, allocations: 187.8 kB / 0.7236 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.6934, allocations: 8.094 kB / 0.7236 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.6934, allocations: 27.98 kB / 0.7236 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.6935, allocations: 4 kB / 0.7237 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.6935, allocations: 4 kB / 0.7237 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.6967, allocations: 1.923 MB / 0.7255 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000716/0.6974, allocations: 402.5 kB / 0.7259 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.6977, allocations: 28 kB / 0.7259 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.6988, allocations: 123.8 kB / 0.7261 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.699, allocations: 72.89 kB / 0.7261 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.144e-05/0.6991, allocations: 43.97 kB / 0.7262 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001425/0.7005, allocations: 0.924 MB / 0.7271 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7005, allocations: 0 / 0.7271 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002817/0.7033, allocations: 0.986 MB / 0.728 GB, free: 10.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005456/0.7088, allocations: 3.302 MB / 0.7313 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003276/0.7121, allocations: 1.707 MB / 0.7329 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.7121, allocations: 0 / 0.7329 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7132, allocations: 0.6189 MB / 0.7335 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.7168, allocations: 0.7546 MB / 0.7343 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/0.7373, allocations: 10.28 MB / 0.7443 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.7383, allocations: 1.33 MB / 0.7456 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001879/0.7402, allocations: 446.1 kB / 0.746 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009961/0.7412, allocations: 0.7374 MB / 0.7468 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of SimCode: time 1.432e-06/0.7412, allocations: 0 / 0.7468 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/0.8209, allocations: 48.7 MB / 0.7943 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.8211, allocations: 242.2 kB / 0.7945 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.847, allocations: 0 / 0.7945 GB, free: 6.246 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) Environment - environmentSimulation: