Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8234/0.8234, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 403.4 MB, free: 7.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.73 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.0011, allocations: 63.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1418, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4557/0.5975, allocations: 159.1 MB / 0.7955 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.5994, allocations: 0.9588 MB / 0.7965 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.5997, allocations: 7.938 kB / 0.7965 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.6003, allocations: 131.2 kB / 0.7966 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.6017, allocations: 0.6032 MB / 0.7972 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.6023, allocations: 194.4 kB / 0.7974 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006892/0.603, allocations: 0.7411 MB / 0.7981 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.6033, allocations: 152.2 kB / 0.7982 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.6037, allocations: 223 kB / 0.7985 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.6039, allocations: 167.3 kB / 0.7986 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.6039, allocations: 12 kB / 0.7986 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009281/0.6048, allocations: 0.6389 MB / 0.7993 GB, free: 308 kB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.6049, allocations: 71.8 kB / 0.7993 GB, free: 236 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.6051, allocations: 111.4 kB / 0.7994 GB, free: 124 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.6058, allocations: 0.5141 MB / 0.7999 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6058, allocations: 0 / 0.7999 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6058, allocations: 0 / 0.7999 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6058, allocations: 0 / 0.7999 GB, free: 15.61 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00133/0.6071, allocations: 0.6 MB / 0.8005 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.6072, allocations: 11.97 kB / 0.8005 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.6074, allocations: 47.67 kB / 0.8006 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.6078, allocations: 282.7 kB / 0.8008 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.6078, allocations: 12.33 kB / 0.8009 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.6079, allocations: 24 kB / 0.8009 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.6083, allocations: 244.2 kB / 0.8011 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6084, allocations: 3.938 kB / 0.8011 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.6084, allocations: 4 kB / 0.8011 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.6084, allocations: 11.98 kB / 0.8011 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.609, allocations: 243.8 kB / 0.8014 GB, free: 14.05 MB / 0.5417 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.001283/0.6103, allocations: 0.8547 MB / 0.8022 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.6107, allocations: 136 kB / 0.8023 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.6109, allocations: 112.9 kB / 0.8024 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.6112, allocations: 190.2 kB / 0.8026 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.6113, allocations: 42.44 kB / 0.8027 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/0.6113, allocations: 0 / 0.8027 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0008238/0.6121, allocations: 293.3 kB / 0.8029 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6121, allocations: 55.41 kB / 0.803 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.6124, allocations: 241 kB / 0.8032 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.6124, allocations: 33.7 kB / 0.8032 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.6125, allocations: 132.2 kB / 0.8034 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.6126, allocations: 55.28 kB / 0.8034 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.6126, allocations: 33.7 kB / 0.8035 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6128, allocations: 326.8 kB / 0.8038 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.6129, allocations: 71.94 kB / 0.8038 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.6132, allocations: 111.4 kB / 0.8039 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.6136, allocations: 163.7 kB / 0.8041 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6136, allocations: 0 / 0.8041 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004588/0.6141, allocations: 223 kB / 0.8043 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6141, allocations: 7.938 kB / 0.8043 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6141, allocations: 0 / 0.8043 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6141, allocations: 4 kB / 0.8043 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.6143, allocations: 27.92 kB / 0.8044 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.6143, allocations: 4 kB / 0.8044 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.6145, allocations: 27.81 kB / 0.8044 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6146, allocations: 12.75 kB / 0.8044 GB, free: 10.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001413/0.6147, allocations: 137.8 kB / 0.8045 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.6148, allocations: 27.66 kB / 0.8046 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.6148, allocations: 33.77 kB / 0.8046 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6149, allocations: 7.938 kB / 0.8046 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6149, allocations: 0 / 0.8046 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6149, allocations: 0 / 0.8046 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.6159, allocations: 0.6757 MB / 0.8053 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6159, allocations: 3.062 kB / 0.8053 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6161, allocations: 36.19 kB / 0.8053 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6161, allocations: 0 / 0.8053 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.6161, allocations: 8 kB / 0.8053 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6162, allocations: 7.938 kB / 0.8053 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6162, allocations: 0 / 0.8053 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.6171, allocations: 1.022 MB / 0.8063 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.6172, allocations: 120.8 kB / 0.8064 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.6173, allocations: 11.94 kB / 0.8064 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.6174, allocations: 4 kB / 0.8064 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.6175, allocations: 19.92 kB / 0.8065 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.6175, allocations: 7.984 kB / 0.8065 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001605/0.6177, allocations: 176.5 kB / 0.8066 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6177, allocations: 0 / 0.8066 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004451/0.6182, allocations: 67.92 kB / 0.8067 GB, free: 8.195 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0003723/0.6185, allocations: 152.6 kB / 0.8068 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004392/0.619, allocations: 171.8 kB / 0.807 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.619, allocations: 0 / 0.807 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.6192, allocations: 100.4 kB / 0.8071 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.62, allocations: 120.2 kB / 0.8072 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.6209, allocations: 0.6542 MB / 0.8079 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.6213, allocations: 0.7599 MB / 0.8086 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.6215, allocations: 57.91 kB / 0.8086 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.6216, allocations: 23.42 kB / 0.8087 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6216, allocations: 0 / 0.8087 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of Templates: time 0.008188/0.6298, allocations: 4.296 MB / 0.8129 GB, free: 1.867 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)