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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001457/0.001457, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 65.33 kB / 0.5047 GB, free: 5.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2395, allocations: 80.92 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6482/0.8877, allocations: 159.1 MB / 0.739 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.8909, allocations: 0.9672 MB / 0.74 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.8916, allocations: 8.219 kB / 0.74 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.8927, allocations: 132.4 kB / 0.7401 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.8961, allocations: 0.5934 MB / 0.7407 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.8972, allocations: 203.3 kB / 0.7409 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001708/0.8989, allocations: 0.7431 MB / 0.7416 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.8996, allocations: 154.3 kB / 0.7418 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000952/0.9006, allocations: 217.6 kB / 0.742 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.9012, allocations: 161.2 kB / 0.7421 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.9012, allocations: 10.03 kB / 0.7421 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.9034, allocations: 0.6434 MB / 0.7428 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.9036, allocations: 80.69 kB / 0.7428 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.9038, allocations: 107.4 kB / 0.7429 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.9054, allocations: 0.5096 MB / 0.7434 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.9055, allocations: 4 kB / 0.7434 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9055, allocations: 1.375 kB / 0.7434 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.9055, allocations: 0 / 0.7434 GB, free: 7.406 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.00213/0.9076, allocations: 0.5978 MB / 0.744 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/0.9077, allocations: 12.25 kB / 0.744 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.9082, allocations: 49.75 kB / 0.7441 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006081/0.9088, allocations: 280.8 kB / 0.7444 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.9088, allocations: 11.2 kB / 0.7444 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.9089, allocations: 19 kB / 0.7444 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.9097, allocations: 236.8 kB / 0.7446 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.9098, allocations: 0 / 0.7446 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.9098, allocations: 14.23 kB / 0.7446 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.9099, allocations: 12.28 kB / 0.7446 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009922/0.9109, allocations: 253.5 kB / 0.7449 GB, free: 6.277 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.001861/0.9128, allocations: 0.8353 MB / 0.7457 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.9132, allocations: 139.1 kB / 0.7458 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.9134, allocations: 111.4 kB / 0.7459 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.9138, allocations: 188.4 kB / 0.7461 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.9139, allocations: 42.44 kB / 0.7462 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.9139, allocations: 0 / 0.7462 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00104/0.9149, allocations: 300.1 kB / 0.7464 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.915, allocations: 61.59 kB / 0.7465 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.9154, allocations: 239.4 kB / 0.7467 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.9154, allocations: 29.7 kB / 0.7468 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.9156, allocations: 134.3 kB / 0.7469 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.9156, allocations: 54.66 kB / 0.7469 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.9157, allocations: 34.61 kB / 0.747 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.9159, allocations: 335.7 kB / 0.7473 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.9162, allocations: 67.2 kB / 0.7474 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.9164, allocations: 103.7 kB / 0.7474 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.9169, allocations: 172 kB / 0.7476 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9169, allocations: 0 / 0.7476 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005245/0.9174, allocations: 218.5 kB / 0.7478 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.9175, allocations: 9.531 kB / 0.7478 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9175, allocations: 0 / 0.7478 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9175, allocations: 2.688 kB / 0.7478 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.9177, allocations: 34.31 kB / 0.7479 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9177, allocations: 4.062 kB / 0.7479 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.918, allocations: 25.98 kB / 0.7479 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.918, allocations: 4.812 kB / 0.7479 GB, free: 3.871 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.000186/0.9182, allocations: 136.7 kB / 0.748 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.9183, allocations: 25.94 kB / 0.7481 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.9184, allocations: 33.77 kB / 0.7481 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9184, allocations: 3.938 kB / 0.7481 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.9184, allocations: 4 kB / 0.7481 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.9185, allocations: 6.109 kB / 0.7481 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9197, allocations: 0.6725 MB / 0.7488 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.9197, allocations: 7.047 kB / 0.7488 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.9199, allocations: 31.09 kB / 0.7488 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.9199, allocations: 2.594 kB / 0.7488 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.92, allocations: 7.75 kB / 0.7488 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.92, allocations: 6.906 kB / 0.7488 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.92, allocations: 6.703 kB / 0.7488 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.9206, allocations: 361.8 kB / 0.7492 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.9208, allocations: 114.4 kB / 0.7493 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.9208, allocations: 5.062 kB / 0.7493 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.921, allocations: 13.27 kB / 0.7493 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.9211, allocations: 12.92 kB / 0.7493 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9211, allocations: 5.375 kB / 0.7493 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001994/0.9213, allocations: 181 kB / 0.7495 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9213, allocations: 4 kB / 0.7495 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004747/0.9218, allocations: 61.38 kB / 0.7495 GB, free: 2.52 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.0004944/0.9223, allocations: 154.6 kB / 0.7497 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.9229, allocations: 167.7 kB / 0.7498 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.9229, allocations: 0 / 0.7498 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.9231, allocations: 105 kB / 0.7499 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009627/0.9241, allocations: 122.1 kB / 0.7501 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/0.9251, allocations: 0.4949 MB / 0.7505 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.9255, allocations: 0.7581 MB / 0.7513 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002754/0.9258, allocations: 63.27 kB / 0.7513 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.9259, allocations: 24.55 kB / 0.7514 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.9259, allocations: 3.938 kB / 0.7514 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of Templates: time 0.01064/0.9365, allocations: 4.209 MB / 0.7555 GB, free: 13.28 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)