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.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001544/0.001544, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.771/0.771, allocations: 132.2 MB / 422.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 59.47 kB / 0.5011 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2212, allocations: 80.21 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6104/0.8316, allocations: 159.1 MB / 0.7348 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.8344, allocations: 0.9615 MB / 0.7357 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.835, allocations: 9.406 kB / 0.7357 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.8359, allocations: 131.6 kB / 0.7358 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.8384, allocations: 0.597 MB / 0.7364 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.8392, allocations: 207.3 kB / 0.7366 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.8405, allocations: 0.7369 MB / 0.7373 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.841, allocations: 164.8 kB / 0.7375 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.8417, allocations: 205.6 kB / 0.7377 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.8421, allocations: 173.7 kB / 0.7378 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.8422, allocations: 11.66 kB / 0.7379 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.8439, allocations: 0.6317 MB / 0.7385 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.8441, allocations: 81.97 kB / 0.7386 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.8443, allocations: 111.3 kB / 0.7387 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.8454, allocations: 0.5131 MB / 0.7392 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8454, allocations: 0 / 0.7392 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8454, allocations: 0 / 0.7392 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8455, allocations: 1.875 kB / 0.7392 GB, free: 12.45 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.001654/0.8471, allocations: 0.5906 MB / 0.7397 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8472, allocations: 19.7 kB / 0.7398 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.8475, allocations: 50.28 kB / 0.7398 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.848, allocations: 280.8 kB / 0.7401 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.848, allocations: 21.56 kB / 0.7401 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.8481, allocations: 15.59 kB / 0.7401 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.8487, allocations: 236.9 kB / 0.7403 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.8487, allocations: 0 / 0.7403 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.8488, allocations: 4 kB / 0.7403 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.8488, allocations: 11.7 kB / 0.7404 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.8495, allocations: 261.1 kB / 0.7406 GB, free: 11.32 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.001401/0.8509, allocations: 0.8304 MB / 0.7414 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.8512, allocations: 146.5 kB / 0.7416 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.8515, allocations: 114.3 kB / 0.7417 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.8518, allocations: 189.1 kB / 0.7418 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.8518, allocations: 40.33 kB / 0.7419 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.8518, allocations: 0 / 0.7419 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008896/0.8527, allocations: 301.3 kB / 0.7422 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.8528, allocations: 55.34 kB / 0.7422 GB, free: 10 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.8531, allocations: 244.4 kB / 0.7425 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.8531, allocations: 27.08 kB / 0.7425 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.8532, allocations: 133.9 kB / 0.7426 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.8533, allocations: 46.05 kB / 0.7426 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.8534, allocations: 34.95 kB / 0.7427 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8535, allocations: 336.1 kB / 0.743 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.8537, allocations: 70.34 kB / 0.7431 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.854, allocations: 101.2 kB / 0.7432 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.8544, allocations: 169.4 kB / 0.7433 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.8544, allocations: 4.531 kB / 0.7433 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005234/0.8549, allocations: 220.8 kB / 0.7435 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8549, allocations: 9.906 kB / 0.7436 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.855, allocations: 0 / 0.7436 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.855, allocations: 5.297 kB / 0.7436 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.8552, allocations: 26.98 kB / 0.7436 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.8552, allocations: 6.031 kB / 0.7436 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.8554, allocations: 25.58 kB / 0.7436 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.8555, allocations: 9.516 kB / 0.7436 GB, free: 8.922 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.0001707/0.8556, allocations: 144.1 kB / 0.7438 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.8557, allocations: 26.59 kB / 0.7438 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.8558, allocations: 32.45 kB / 0.7438 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.8558, allocations: 4.781 kB / 0.7438 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.8558, allocations: 2.625 kB / 0.7438 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.8558, allocations: 0 / 0.7438 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.8569, allocations: 0.675 MB / 0.7445 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.857, allocations: 2.797 kB / 0.7445 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.8571, allocations: 37.91 kB / 0.7445 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.8571, allocations: 2.75 kB / 0.7445 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.8572, allocations: 6.734 kB / 0.7445 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.8572, allocations: 2.75 kB / 0.7445 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8572, allocations: 2.75 kB / 0.7445 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.8577, allocations: 358.9 kB / 0.7449 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.8579, allocations: 114.6 kB / 0.745 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.8579, allocations: 6.734 kB / 0.745 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.8581, allocations: 10.88 kB / 0.745 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.8583, allocations: 21.3 kB / 0.745 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.8583, allocations: 13.05 kB / 0.745 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001637/0.8584, allocations: 177.4 kB / 0.7452 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8585, allocations: 0 / 0.7452 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003922/0.8589, allocations: 69.89 kB / 0.7453 GB, free: 7.559 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.0003913/0.8593, allocations: 140 kB / 0.7454 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.8598, allocations: 174.3 kB / 0.7456 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8598, allocations: 0 / 0.7456 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.86, allocations: 98.53 kB / 0.7457 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.8608, allocations: 119.5 kB / 0.7458 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.8616, allocations: 0.5045 MB / 0.7463 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.862, allocations: 0.7527 MB / 0.747 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.8622, allocations: 65.45 kB / 0.7471 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.8623, allocations: 20.09 kB / 0.7471 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of SimCode: time 5.72e-07/0.8623, allocations: 0 / 0.7471 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of Templates: time 0.00968/0.872, allocations: 4.218 MB / 0.7512 GB, free: 3.137 MB / 0.5606 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)