Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008729/0.008729, allocations: 104.4 kB / 15.74 MB, free: 6.039 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.002063/0.002063, allocations: 195.4 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4207/0.4207, allocations: 54.95 MB / 324.8 MB, free: 15.91 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 76.97 kB / 456.2 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1514, allocations: 59.59 MB / 0.5037 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.6705/0.8219, allocations: 239.9 MB / 0.738 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.834, allocations: 6.813 MB / 0.7446 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.8363, allocations: 50.44 kB / 0.7447 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.8384, allocations: 0.6338 MB / 0.7453 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.8417, allocations: 1.126 MB / 0.7464 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.8459, allocations: 1.605 MB / 0.748 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003503/0.8494, allocations: 2.396 MB / 0.7503 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.8509, allocations: 0.895 MB / 0.7512 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.8547, allocations: 1.491 MB / 0.7526 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.8563, allocations: 0.8017 MB / 0.7534 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.8567, allocations: 96 kB / 0.7535 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.8599, allocations: 1.481 MB / 0.755 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005993/0.8605, allocations: 402.9 kB / 0.7553 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.8614, allocations: 0.6067 MB / 0.7559 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.8646, allocations: 1.982 MB / 0.7579 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8647, allocations: 4 kB / 0.7579 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.634e-06/0.8647, allocations: 0 / 0.7579 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.8647, allocations: 0 / 0.7579 GB, free: 6.438 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00264/0.8673, allocations: 1.453 MB / 0.7593 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.8674, allocations: 8.031 kB / 0.7593 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.8691, allocations: 278.5 kB / 0.7596 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.8703, allocations: 0.7285 MB / 0.7603 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.8704, allocations: 58 kB / 0.7603 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8705, allocations: 71.94 kB / 0.7604 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.8733, allocations: 1.137 MB / 0.7615 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.8734, allocations: 4 kB / 0.7615 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.8735, allocations: 28 kB / 0.7615 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.8735, allocations: 16.5 kB / 0.7616 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.8761, allocations: 0.9796 MB / 0.7625 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/0.8811, allocations: 3.816 MB / 0.7662 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.8832, allocations: 0.6598 MB / 0.7669 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.8837, allocations: 282 kB / 0.7672 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.884, allocations: 121.3 kB / 0.7673 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.8841, allocations: 42.89 kB / 0.7673 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006484/0.8847, allocations: 115.5 kB / 0.7674 GB, free: 12.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.8848, allocations: 4 kB / 0.7674 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.008204/0.893, allocations: 1.955 MB / 0.7693 GB, free: 10.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.729e-05/0.8931, allocations: 59.41 kB / 0.7694 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.8944, allocations: 0.7941 MB / 0.7702 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.8946, allocations: 37.7 kB / 0.7702 GB, free: 9.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.895, allocations: 436 kB / 0.7706 GB, free: 8.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.8951, allocations: 142 kB / 0.7708 GB, free: 8.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.8953, allocations: 110.1 kB / 0.7709 GB, free: 8.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8955, allocations: 322 kB / 0.7712 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007901/0.8963, allocations: 326.9 kB / 0.7715 GB, free: 7.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.8972, allocations: 469.9 kB / 0.7719 GB, free: 7.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8988, allocations: 0.7523 MB / 0.7727 GB, free: 6.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8988, allocations: 0 / 0.7727 GB, free: 6.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005603/0.9044, allocations: 1.444 MB / 0.7741 GB, free: 5.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.9045, allocations: 8 kB / 0.7741 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.9045, allocations: 4 kB / 0.7741 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.9055, allocations: 284.6 kB / 0.7744 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.9061, allocations: 115.8 kB / 0.7745 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.9166, allocations: 3.739 MB / 0.7781 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.9177, allocations: 71.92 kB / 0.7782 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9178, allocations: 23.98 kB / 0.7782 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007772/0.9186, allocations: 429 kB / 0.7786 GB, free: 388 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000571/0.9192, allocations: 377.5 kB / 0.779 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009627/0.9202, allocations: 0.5887 MB / 0.7796 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.9202, allocations: 4 kB / 0.7796 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001468/0.9217, allocations: 0.7581 MB / 0.7803 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9217, allocations: 4 kB / 0.7803 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.9217, allocations: 4.375 kB / 0.7803 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.922, allocations: 68.92 kB / 0.7804 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.9225, allocations: 107.8 kB / 0.7805 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.9242, allocations: 1.877 MB / 0.7823 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00075/0.925, allocations: 44.02 kB / 0.7823 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.925, allocations: 23.98 kB / 0.7824 GB, free: 12.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.9253, allocations: 212.1 kB / 0.7826 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.9256, allocations: 86.97 kB / 0.7827 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.9301, allocations: 1.247 MB / 0.7839 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9301, allocations: 4 kB / 0.7839 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9301, allocations: 0 / 0.7839 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.9301, allocations: 7.984 kB / 0.7839 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.936, allocations: 2.176 MB / 0.786 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.936, allocations: 4 kB / 0.786 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.9365, allocations: 83.83 kB / 0.7861 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008789/0.9374, allocations: 292.8 kB / 0.7864 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.9374, allocations: 16 kB / 0.7864 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.9476, allocations: 3.577 MB / 0.7899 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.9476, allocations: 4.031 kB / 0.7899 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.9524, allocations: 1.341 MB / 0.7912 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.953, allocations: 232 kB / 0.7914 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.9533, allocations: 16 kB / 0.7914 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9543, allocations: 75.91 kB / 0.7915 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9545, allocations: 43.83 kB / 0.7915 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9546, allocations: 31.97 kB / 0.7916 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009862/0.9556, allocations: 0.5497 MB / 0.7921 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9556, allocations: 0 / 0.7921 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002101/0.9577, allocations: 487.1 kB / 0.7926 GB, free: 1.496 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006414/0.9584, allocations: 193.5 kB / 0.7928 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004108/0.9625, allocations: 1.42 MB / 0.7941 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9625, allocations: 0 / 0.7941 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.9643, allocations: 0.6046 MB / 0.7947 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.9672, allocations: 0.521 MB / 0.7952 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.9739, allocations: 1.894 MB / 0.7971 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.9749, allocations: 1.006 MB / 0.7981 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001332/0.9763, allocations: 238.9 kB / 0.7983 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.9766, allocations: 75.41 kB / 0.7984 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.9766, allocations: 0 / 0.7984 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.04051/1.017, allocations: 23.59 MB / 0.8214 GB, free: 3.957 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)