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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.001067/0.001067, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1681/0.5187, allocations: 161.3 MB / 0.739 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.5207, allocations: 0.9608 MB / 0.74 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.5211, allocations: 7.938 kB / 0.74 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.5218, allocations: 159 kB / 0.7401 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.5234, allocations: 0.634 MB / 0.7408 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.524, allocations: 226.2 kB / 0.741 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006715/0.5247, allocations: 0.5188 MB / 0.7415 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.5251, allocations: 180.1 kB / 0.7416 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.5256, allocations: 231.1 kB / 0.7419 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.5258, allocations: 151.4 kB / 0.742 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.47e-05/0.5259, allocations: 16 kB / 0.742 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008925/0.5268, allocations: 0.5416 MB / 0.7426 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.5269, allocations: 83.78 kB / 0.7426 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.5271, allocations: 119.3 kB / 0.7428 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.5278, allocations: 0.4907 MB / 0.7432 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5278, allocations: 0 / 0.7432 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5278, allocations: 3.938 kB / 0.7432 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5279, allocations: 0 / 0.7432 GB, free: 8.055 MB / 0.5762 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.001268/0.5291, allocations: 0.6 MB / 0.7438 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5292, allocations: 12.03 kB / 0.7438 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.5294, allocations: 47.69 kB / 0.7439 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.5299, allocations: 290.3 kB / 0.7442 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.5299, allocations: 16.33 kB / 0.7442 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.53, allocations: 16 kB / 0.7442 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.5304, allocations: 235.1 kB / 0.7444 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5304, allocations: 0 / 0.7444 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.5305, allocations: 11.94 kB / 0.7444 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.5305, allocations: 8 kB / 0.7444 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.531, allocations: 255.8 kB / 0.7447 GB, free: 6.488 MB / 0.5762 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.001221/0.5323, allocations: 0.8391 MB / 0.7455 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.5326, allocations: 142.5 kB / 0.7456 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.5328, allocations: 108.9 kB / 0.7457 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.5331, allocations: 194.1 kB / 0.7459 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.5331, allocations: 34.56 kB / 0.7459 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.5331, allocations: 0 / 0.7459 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008063/0.5339, allocations: 301.2 kB / 0.7462 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.534, allocations: 55.41 kB / 0.7463 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.5342, allocations: 245 kB / 0.7465 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.5343, allocations: 25.7 kB / 0.7465 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5344, allocations: 136.2 kB / 0.7467 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.5344, allocations: 51.28 kB / 0.7467 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.5345, allocations: 33.7 kB / 0.7468 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5346, allocations: 330.8 kB / 0.7471 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.5348, allocations: 75.94 kB / 0.7471 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.535, allocations: 98.52 kB / 0.7472 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.5354, allocations: 169 kB / 0.7474 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.5354, allocations: 4 kB / 0.7474 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004529/0.5358, allocations: 221.2 kB / 0.7476 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5359, allocations: 4 kB / 0.7476 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5359, allocations: 0 / 0.7476 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5359, allocations: 4 kB / 0.7476 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5361, allocations: 27.97 kB / 0.7477 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5361, allocations: 7.938 kB / 0.7477 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.5363, allocations: 27.89 kB / 0.7477 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5363, allocations: 7.938 kB / 0.7477 GB, free: 3.188 MB / 0.5762 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.0001375/0.5365, allocations: 141.8 kB / 0.7478 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.5365, allocations: 31.58 kB / 0.7479 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.5366, allocations: 29.84 kB / 0.7479 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5366, allocations: 0 / 0.7479 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5366, allocations: 4 kB / 0.7479 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.5366, allocations: 3.984 kB / 0.7479 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5377, allocations: 0.6718 MB / 0.7485 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5377, allocations: 4.219 kB / 0.7486 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5378, allocations: 35.92 kB / 0.7486 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5379, allocations: 4 kB / 0.7486 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5379, allocations: 4 kB / 0.7486 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5379, allocations: 3.984 kB / 0.7486 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.5379, allocations: 11.88 kB / 0.7486 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.5383, allocations: 341.2 kB / 0.7489 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5385, allocations: 116.8 kB / 0.749 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.5385, allocations: 4 kB / 0.7491 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5387, allocations: 15.98 kB / 0.7491 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.5387, allocations: 19.86 kB / 0.7491 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5388, allocations: 8 kB / 0.7491 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001532/0.5389, allocations: 180.5 kB / 0.7493 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5389, allocations: 0 / 0.7493 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000359/0.5393, allocations: 59.94 kB / 0.7493 GB, free: 1.367 MB / 0.5762 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.0004061/0.5397, allocations: 153.3 kB / 0.7495 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.5402, allocations: 171.8 kB / 0.7496 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5402, allocations: 0 / 0.7496 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.5404, allocations: 99.8 kB / 0.7497 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.5411, allocations: 132.3 kB / 0.7499 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.5418, allocations: 443.9 kB / 0.7503 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2428/0.7846, allocations: 0.7454 MB / 0.751 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.7849, allocations: 60.69 kB / 0.7511 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.785, allocations: 26.05 kB / 0.7511 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.785, allocations: 0.8438 kB / 0.7511 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.008563/0.7936, allocations: 4.419 MB / 0.7554 GB, free: 166.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)