Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007534/0.0007534, allocations: 97.72 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.004439/0.004439, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8993/0.8993, allocations: 135.7 MB / 427.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 8 kB / 0.5081 GB, free: 4.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.4 MB / 0.5886 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.3638/0.5057, allocations: 157 MB / 0.7419 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.5076, allocations: 0.9412 MB / 0.7428 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.5078, allocations: 11.88 kB / 0.7428 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.5083, allocations: 130.5 kB / 0.743 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.5099, allocations: 0.6063 MB / 0.7436 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.5104, allocations: 199.8 kB / 0.7437 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008721/0.5113, allocations: 0.739 MB / 0.7445 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.5117, allocations: 158.6 kB / 0.7446 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.5121, allocations: 212.4 kB / 0.7448 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.5124, allocations: 165.5 kB / 0.745 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.5124, allocations: 7.938 kB / 0.745 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.5134, allocations: 0.6279 MB / 0.7456 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.5135, allocations: 87.33 kB / 0.7457 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.5137, allocations: 130.3 kB / 0.7458 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.5144, allocations: 0.505 MB / 0.7463 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.5144, allocations: 0 / 0.7463 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5144, allocations: 0 / 0.7463 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5145, allocations: 4 kB / 0.7463 GB, free: 7.25 MB / 0.5606 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.0013/0.5158, allocations: 0.5608 MB / 0.7468 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.5158, allocations: 8.031 kB / 0.7469 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.516, allocations: 48.81 kB / 0.7469 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.5164, allocations: 274.5 kB / 0.7472 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5164, allocations: 18.72 kB / 0.7472 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.5164, allocations: 15.72 kB / 0.7472 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.5169, allocations: 253.5 kB / 0.7474 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5169, allocations: 0 / 0.7474 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.517, allocations: 5.375 kB / 0.7474 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.517, allocations: 8.25 kB / 0.7475 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.5176, allocations: 267.7 kB / 0.7477 GB, free: 6.188 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 preOpt removeSimpleEquations (simulation): time 0.001186/0.5188, allocations: 0.8379 MB / 0.7485 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.5191, allocations: 156.6 kB / 0.7487 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.5193, allocations: 122.4 kB / 0.7488 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.5196, allocations: 183.7 kB / 0.749 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5196, allocations: 39.94 kB / 0.749 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.5196, allocations: 0 / 0.749 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007574/0.5204, allocations: 320.5 kB / 0.7493 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5204, allocations: 51.41 kB / 0.7494 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5206, allocations: 248.9 kB / 0.7496 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.5207, allocations: 25.7 kB / 0.7496 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.5208, allocations: 139.3 kB / 0.7498 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.5208, allocations: 45.08 kB / 0.7498 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.5209, allocations: 26.73 kB / 0.7498 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.521, allocations: 332.3 kB / 0.7501 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.5212, allocations: 78.69 kB / 0.7502 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5214, allocations: 102.2 kB / 0.7503 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.5217, allocations: 184.4 kB / 0.7505 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5217, allocations: 0 / 0.7505 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004279/0.5222, allocations: 222.7 kB / 0.7507 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5222, allocations: 17.52 kB / 0.7507 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5222, allocations: 0 / 0.7507 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5222, allocations: 3.125 kB / 0.7507 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5224, allocations: 29.02 kB / 0.7507 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5224, allocations: 0 / 0.7507 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.5226, allocations: 32.17 kB / 0.7508 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.5226, allocations: 10.36 kB / 0.7508 GB, free: 3.777 MB / 0.5606 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.0001367/0.5227, allocations: 138.9 kB / 0.7509 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.5228, allocations: 27.22 kB / 0.7509 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.5229, allocations: 32.08 kB / 0.751 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5229, allocations: 3.156 kB / 0.751 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5229, allocations: 4 kB / 0.751 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5229, allocations: 0 / 0.751 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.5239, allocations: 0.6874 MB / 0.7517 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5239, allocations: 2.656 kB / 0.7517 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.524, allocations: 35.91 kB / 0.7517 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.524, allocations: 2.688 kB / 0.7517 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5241, allocations: 13.53 kB / 0.7517 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5241, allocations: 2.688 kB / 0.7517 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5241, allocations: 0 / 0.7517 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.5246, allocations: 362.7 kB / 0.7521 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.5247, allocations: 121.8 kB / 0.7522 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.5247, allocations: 3.562 kB / 0.7522 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.5249, allocations: 19.98 kB / 0.7522 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.5249, allocations: 14.2 kB / 0.7522 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.5249, allocations: 7.344 kB / 0.7522 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001358/0.5251, allocations: 174.7 kB / 0.7524 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5251, allocations: 0 / 0.7524 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003037/0.5254, allocations: 69.89 kB / 0.7524 GB, free: 2.434 MB / 0.5606 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.0003181/0.5257, allocations: 164.4 kB / 0.7526 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.5261, allocations: 177.8 kB / 0.7528 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5261, allocations: 128 / 0.7528 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.5264, allocations: 103.3 kB / 0.7529 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.5271, allocations: 120.6 kB / 0.753 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.5278, allocations: 0.5116 MB / 0.7535 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5281, allocations: 0.7529 MB / 0.7542 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.5283, allocations: 65.03 kB / 0.7543 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.5284, allocations: 20.47 kB / 0.7543 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5284, allocations: 0 / 0.7543 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Templates: time 0.007947/0.5364, allocations: 4.185 MB / 0.7584 GB, free: 13.46 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)