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.001076/0.001075, allocations: 97.64 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.008347/0.008347, allocations: 170.1 kB / 16.27 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.293/1.293, 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.7107/0.7107, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 12.48 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4493, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07887/0.5283, allocations: 75.01 MB / 0.657 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02962/0.5579, allocations: 19.84 MB / 0.6764 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004909/0.5629, allocations: 71.56 kB / 0.6764 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.5667, allocations: 0.808 MB / 0.6772 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009969/0.5767, allocations: 2.631 MB / 0.6798 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006519/0.5833, allocations: 1.883 MB / 0.6816 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.5935, allocations: 6.722 MB / 0.6882 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.5965, allocations: 1.357 MB / 0.6895 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/0.6017, allocations: 1.769 MB / 0.6913 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.6051, allocations: 1.431 MB / 0.6927 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007237/0.6058, allocations: 72 kB / 0.6927 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.6112, allocations: 1.785 MB / 0.6945 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008334/0.6121, allocations: 358.2 kB / 0.6948 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.6145, allocations: 0.9963 MB / 0.6958 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007238/0.6218, allocations: 3.325 MB / 0.699 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6218, allocations: 0 / 0.699 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6218, allocations: 4 kB / 0.699 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.932e-05/0.6219, allocations: 0 / 0.699 GB, free: 10.05 MB / 0.5294 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.004513/0.6264, allocations: 2.128 MB / 0.7011 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6265, allocations: 12.03 kB / 0.7011 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.6267, allocations: 189.8 kB / 0.7013 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.6287, allocations: 433.1 kB / 0.7017 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.6324, allocations: 1.784 MB / 0.7035 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.598e-05/0.6324, allocations: 90.44 kB / 0.7035 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.6327, allocations: 128 kB / 0.7037 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.6353, allocations: 1.442 MB / 0.7051 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.6354, allocations: 3.938 kB / 0.7051 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.6355, allocations: 55.98 kB / 0.7051 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.6356, allocations: 35.98 kB / 0.7052 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.638, allocations: 1.102 MB / 0.7062 GB, free: 2.434 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.00982/0.6478, allocations: 7.86 MB / 0.7139 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/0.6515, allocations: 1.081 MB / 0.715 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/0.6525, allocations: 451.8 kB / 0.7154 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.6544, allocations: 1.872 MB / 0.7172 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.6556, allocations: 0.4983 MB / 0.7177 GB, free: 5.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 3.356e-06/0.6556, allocations: 0 / 0.7177 GB, free: 5.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.003309/0.659, allocations: 1.304 MB / 0.719 GB, free: 4.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.659, allocations: 89.7 kB / 0.7191 GB, free: 4.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.6611, allocations: 1.383 MB / 0.7204 GB, free: 2.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.414e-05/0.6613, allocations: 41.7 kB / 0.7205 GB, free: 2.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.6621, allocations: 0.8217 MB / 0.7213 GB, free: 1.957 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.6624, allocations: 307.7 kB / 0.7216 GB, free: 1.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.6626, allocations: 85.67 kB / 0.7216 GB, free: 1.562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6627, allocations: 345.9 kB / 0.722 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.6636, allocations: 374.4 kB / 0.7223 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.6646, allocations: 0.6832 MB / 0.723 GB, free: 36 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.6666, allocations: 1.079 MB / 0.7241 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6666, allocations: 4 kB / 0.7241 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002813/0.6694, allocations: 1.261 MB / 0.7253 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.6697, allocations: 361.5 kB / 0.7256 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.6697, allocations: 8 kB / 0.7256 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.6698, allocations: 16 kB / 0.7257 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.6708, allocations: 259.5 kB / 0.7259 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-05/0.6708, allocations: 23.86 kB / 0.7259 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6724, allocations: 194.7 kB / 0.7261 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.6726, allocations: 59.98 kB / 0.7262 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.6726, allocations: 4 kB / 0.7262 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002287/0.6749, allocations: 1.089 MB / 0.7272 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.6749, allocations: 8 kB / 0.7272 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6749, allocations: 16.81 kB / 0.7273 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.6758, allocations: 259.5 kB / 0.7275 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.6759, allocations: 19.92 kB / 0.7275 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.6773, allocations: 175 kB / 0.7277 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.6774, allocations: 55.98 kB / 0.7277 GB, free: 10.91 MB / 0.5606 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 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008973/0.6783, allocations: 452.6 kB / 0.7282 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.6786, allocations: 166 kB / 0.7283 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.6817, allocations: 1.488 MB / 0.7298 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.6817, allocations: 15.98 kB / 0.7298 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6817, allocations: 0 / 0.7298 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002045/0.6838, allocations: 1.117 MB / 0.7309 GB, free: 7.656 MB / 0.5606 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.005439/0.6892, allocations: 2.93 MB / 0.7338 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.6893, allocations: 12.09 kB / 0.7338 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.6901, allocations: 179.8 kB / 0.7339 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6901, allocations: 8 kB / 0.7339 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.6902, allocations: 27.97 kB / 0.734 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.6902, allocations: 7.938 kB / 0.734 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6902, allocations: 11.98 kB / 0.734 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.6938, allocations: 1.931 MB / 0.7359 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/0.6947, allocations: 414.5 kB / 0.7363 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.6949, allocations: 16 kB / 0.7363 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.696, allocations: 143.5 kB / 0.7364 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.6961, allocations: 72.89 kB / 0.7365 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/0.6962, allocations: 39.97 kB / 0.7365 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001458/0.6977, allocations: 0.9318 MB / 0.7374 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6977, allocations: 0 / 0.7374 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003094/0.7008, allocations: 0.9861 MB / 0.7384 GB, free: 15.84 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006447/0.7073, allocations: 3.353 MB / 0.7417 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003818/0.7111, allocations: 1.719 MB / 0.7434 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.7112, allocations: 0 / 0.7434 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7123, allocations: 0.6226 MB / 0.744 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/0.7166, allocations: 0.7409 MB / 0.7447 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/0.7426, allocations: 13.14 MB / 0.7575 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.7436, allocations: 1.319 MB / 0.7588 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001943/0.7455, allocations: 451.3 kB / 0.7592 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009782/0.7465, allocations: 0.7412 MB / 0.76 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.7465, allocations: 0 / 0.76 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08509/0.8316, allocations: 46.42 MB / 0.8053 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/0.832, allocations: 252.3 kB / 0.8055 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/4.098, allocations: 0 / 0.8055 GB, free: 11.11 MB / 0.6387 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/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)