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.001247/0.001247, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.00122/0.00122, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7469/0.7469, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 80.91 MB / 0.5857 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1508/0.4592, allocations: 161.3 MB / 0.7433 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.4609, allocations: 0.9664 MB / 0.7442 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4611, allocations: 7.938 kB / 0.7443 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.4615, allocations: 155 kB / 0.7444 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.4628, allocations: 0.634 MB / 0.745 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.4633, allocations: 226.3 kB / 0.7452 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.4638, allocations: 0.5188 MB / 0.7457 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.4641, allocations: 176.1 kB / 0.7459 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.4645, allocations: 231.1 kB / 0.7461 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4647, allocations: 155.3 kB / 0.7463 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.4647, allocations: 16 kB / 0.7463 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.4655, allocations: 0.5416 MB / 0.7468 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.4656, allocations: 83.78 kB / 0.7469 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4657, allocations: 115.4 kB / 0.747 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.4663, allocations: 498.5 kB / 0.7475 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4663, allocations: 4 kB / 0.7475 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4663, allocations: 0 / 0.7475 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4663, allocations: 0 / 0.7475 GB, free: 4.379 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.001215/0.4675, allocations: 0.6019 MB / 0.7481 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.4676, allocations: 9.109 kB / 0.7481 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.4678, allocations: 55.67 kB / 0.7481 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.4682, allocations: 290.1 kB / 0.7484 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4682, allocations: 16.33 kB / 0.7484 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4683, allocations: 12 kB / 0.7484 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.4687, allocations: 243.1 kB / 0.7487 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4687, allocations: 4 kB / 0.7487 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4687, allocations: 7.984 kB / 0.7487 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.4688, allocations: 8 kB / 0.7487 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.4693, allocations: 247.8 kB / 0.7489 GB, free: 2.812 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.001145/0.4704, allocations: 0.8314 MB / 0.7497 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4707, allocations: 146.5 kB / 0.7499 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.471, allocations: 108.9 kB / 0.75 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.4712, allocations: 202 kB / 0.7502 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.4712, allocations: 34.56 kB / 0.7502 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.4712, allocations: 0 / 0.7502 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0007592/0.472, allocations: 306.8 kB / 0.7505 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.472, allocations: 51.41 kB / 0.7506 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4723, allocations: 241 kB / 0.7508 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4723, allocations: 29.7 kB / 0.7508 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.4724, allocations: 136.2 kB / 0.7509 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4724, allocations: 47.3 kB / 0.751 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.4725, allocations: 37.7 kB / 0.751 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4726, allocations: 326.8 kB / 0.7513 GB, free: 168 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4728, allocations: 75.94 kB / 0.7514 GB, free: 92 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2354/0.7082, allocations: 95.02 kB / 0.7515 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.7086, allocations: 166.4 kB / 0.7517 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7086, allocations: 1.125 kB / 0.7517 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005006/0.7092, allocations: 216.7 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.7092, allocations: 5.344 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.7092, allocations: 3.469 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7092, allocations: 1.734 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.7094, allocations: 35.44 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7094, allocations: 2.125 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.7096, allocations: 19.39 kB / 0.7519 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7096, allocations: 9.859 kB / 0.7519 GB, free: 167.1 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.0001186/0.7098, allocations: 150.8 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.7098, allocations: 25.23 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.7099, allocations: 30.53 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.7099, allocations: 1.281 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7099, allocations: 1.281 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7099, allocations: 2.438 kB / 0.7521 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.7109, allocations: 0.6731 MB / 0.7528 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7109, allocations: 2.531 kB / 0.7528 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.7111, allocations: 42.67 kB / 0.7528 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7111, allocations: 2.875 kB / 0.7528 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.7111, allocations: 8.172 kB / 0.7529 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7111, allocations: 3.203 kB / 0.7529 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7111, allocations: 1.781 kB / 0.7529 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.7116, allocations: 351.4 kB / 0.7532 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.7117, allocations: 121.5 kB / 0.7533 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.7117, allocations: 5.016 kB / 0.7533 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.7119, allocations: 13.2 kB / 0.7533 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.712, allocations: 14.95 kB / 0.7533 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.712, allocations: 6.266 kB / 0.7533 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00015/0.7121, allocations: 183.5 kB / 0.7535 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7121, allocations: 0 / 0.7535 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003419/0.7125, allocations: 60.08 kB / 0.7536 GB, free: 166.1 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.000301/0.7128, allocations: 157.1 kB / 0.7537 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.7132, allocations: 180.9 kB / 0.7539 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7132, allocations: 0 / 0.7539 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.7135, allocations: 102.8 kB / 0.754 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.7141, allocations: 123.8 kB / 0.7541 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.7148, allocations: 445.9 kB / 0.7545 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.7149, allocations: 0.7524 MB / 0.7553 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.7151, allocations: 64.02 kB / 0.7553 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.7152, allocations: 22 kB / 0.7554 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.7152, allocations: 0.5 kB / 0.7554 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.008248/0.7235, allocations: 4.426 MB / 0.7597 GB, free: 163.3 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)