Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.093/1.093, allocations: 175.7 MB / 480.2 MB, free: 2.797 MB / 366.1 MB " [Timeout remaining time 179] 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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 72.27 kB / 0.6684 GB, free: 10.7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2023, allocations: 94.53 MB / 0.7607 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.7043/0.9066, allocations: 117.3 MB / 0.8753 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03853/0.9452, allocations: 26.72 MB / 0.9014 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007506/0.9527, allocations: 114.9 kB / 0.9015 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.9571, allocations: 1.188 MB / 0.9026 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01389/0.971, allocations: 3.556 MB / 0.9061 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008808/0.9798, allocations: 2.395 MB / 0.9084 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.9931, allocations: 6.181 MB / 0.9145 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.9968, allocations: 1.549 MB / 0.916 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009002/1.006, allocations: 2.852 MB / 0.9188 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005369/1.011, allocations: 1.795 MB / 0.9205 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007895/1.012, allocations: 220.2 kB / 0.9207 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/1.02, allocations: 2.397 MB / 0.9231 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/1.021, allocations: 0.5541 MB / 0.9236 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002874/1.024, allocations: 1.285 MB / 0.9249 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/1.035, allocations: 4.12 MB / 0.9289 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/1.035, allocations: 4 kB / 0.9289 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.444e-06/1.035, allocations: 0 / 0.9289 GB, free: 14.31 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.969e-05/1.035, allocations: 0 / 0.9289 GB, free: 14.31 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006957/1.042, allocations: 2.92 MB / 0.9317 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.042, allocations: 13.52 kB / 0.9318 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008438/1.043, allocations: 266.3 kB / 0.932 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/1.048, allocations: 2.163 MB / 0.9341 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/1.048, allocations: 102.3 kB / 0.9342 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/1.048, allocations: 134.3 kB / 0.9344 GB, free: 10.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/1.05, allocations: 1.459 MB / 0.9358 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/1.051, allocations: 7.938 kB / 0.9358 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.051, allocations: 52 kB / 0.9358 GB, free: 9.293 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/1.051, allocations: 39.98 kB / 0.9359 GB, free: 9.254 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/1.053, allocations: 1.025 MB / 0.9369 GB, free: 8.223 MB / 0.67 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.0106/1.063, allocations: 8.3 MB / 0.945 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.065, allocations: 0.7905 MB / 0.9457 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/1.066, allocations: 340.5 kB / 0.9461 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/1.068, allocations: 2.8 MB / 0.9488 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.068, allocations: 47.22 kB / 0.9489 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.996e-06/1.068, allocations: 3.938 kB / 0.9489 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.002702/1.071, allocations: 1.133 MB / 0.95 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/1.071, allocations: 64 kB / 0.95 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.074, allocations: 1.625 MB / 0.9516 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.074, allocations: 45.7 kB / 0.9517 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008206/1.074, allocations: 0.9489 MB / 0.9526 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/1.075, allocations: 321.2 kB / 0.9529 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/1.075, allocations: 230.8 kB / 0.9531 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.075, allocations: 349.9 kB / 0.9534 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/1.076, allocations: 325.9 kB / 0.9538 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/1.077, allocations: 0.7071 MB / 0.9544 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.079, allocations: 1.085 MB / 0.9555 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.079, allocations: 0 / 0.9555 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002613/1.081, allocations: 1.263 MB / 0.9567 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.081, allocations: 8 kB / 0.9567 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/1.081, allocations: 23.92 kB / 0.9568 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/1.081, allocations: 20.72 kB / 0.9568 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/1.082, allocations: 263.5 kB / 0.957 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/1.082, allocations: 23.88 kB / 0.9571 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.084, allocations: 139.1 kB / 0.9572 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.084, allocations: 59.98 kB / 0.9573 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001183/1.085, allocations: 0.6275 MB / 0.9579 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009229/1.086, allocations: 0.7071 MB / 0.9586 GB, free: 24 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001629/1.087, allocations: 1.073 MB / 0.9596 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.862e-06/1.087, allocations: 4 kB / 0.9596 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002463/1.09, allocations: 1.252 MB / 0.9608 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.09, allocations: 12.19 kB / 0.9608 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/1.09, allocations: 16.88 kB / 0.9609 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.09, allocations: 20 kB / 0.9609 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/1.091, allocations: 259.5 kB / 0.9611 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.861e-05/1.091, allocations: 23.92 kB / 0.9611 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.092, allocations: 107.3 kB / 0.9612 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.092, allocations: 67.97 kB / 0.9613 GB, free: 13.03 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003758/1.093, allocations: 255.8 kB / 0.9616 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/1.093, allocations: 198.7 kB / 0.9617 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/1.096, allocations: 1.737 MB / 0.9634 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.479e-05/1.096, allocations: 19.97 kB / 0.9635 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.096, allocations: 3.938 kB / 0.9635 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001804/1.098, allocations: 1.154 MB / 0.9646 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006152/1.104, allocations: 3.49 MB / 0.968 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.104, allocations: 8 kB / 0.968 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/1.105, allocations: 208.5 kB / 0.9682 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.105, allocations: 12 kB / 0.9682 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.105, allocations: 39.98 kB / 0.9683 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.105, allocations: 15.92 kB / 0.9683 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.105, allocations: 8 kB / 0.9683 GB, free: 5.684 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/1.109, allocations: 2.239 MB / 0.9705 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009637/1.11, allocations: 451.2 kB / 0.9709 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.11, allocations: 32 kB / 0.9709 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/1.111, allocations: 44.83 kB / 0.971 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/1.111, allocations: 124.6 kB / 0.9711 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.111, allocations: 67.91 kB / 0.9712 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001697/1.113, allocations: 1.083 MB / 0.9722 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.113, allocations: 0 / 0.9722 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003381/1.116, allocations: 1.15 MB / 0.9733 GB, free: 368 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001896/1.118, allocations: 0.7986 MB / 0.9741 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003413/1.121, allocations: 1.733 MB / 0.9758 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.121, allocations: 0 / 0.9758 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.123, allocations: 0.7766 MB / 0.9766 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/1.127, allocations: 0.9535 MB / 0.9775 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/1.133, allocations: 3.653 MB / 0.9811 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.134, allocations: 1.428 MB / 0.9825 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002092/1.136, allocations: 0.5498 MB / 0.983 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.137, allocations: 187.3 kB / 0.9832 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/1.137, allocations: 0 / 0.9832 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.08108/1.218, allocations: 44.17 MB / 1.026 GB, free: 10.35 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.696936684660614]