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.007363/0.007363, allocations: 100.3 kB / 15.73 MB, free: 6.453 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.001152/0.001152, allocations: 197 kB / 16.68 MB, free: 6.355 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4087/0.4087, allocations: 54.93 MB / 324.8 MB, free: 60 kB / 254.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.001492/0.001492, allocations: 75.64 kB / 456.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1626, allocations: 59.59 MB / 0.5038 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.5898/0.7525, allocations: 239.9 MB / 0.7381 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.7648, allocations: 6.829 MB / 0.7447 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.767, allocations: 46 kB / 0.7448 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.7692, allocations: 0.6608 MB / 0.7454 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.773, allocations: 1.164 MB / 0.7466 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.7773, allocations: 1.634 MB / 0.7482 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.781, allocations: 2.404 MB / 0.7505 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7828, allocations: 0.8911 MB / 0.7514 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.7868, allocations: 1.523 MB / 0.7529 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.7885, allocations: 0.8094 MB / 0.7537 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.7887, allocations: 100 kB / 0.7538 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.792, allocations: 1.481 MB / 0.7552 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.7925, allocations: 402.9 kB / 0.7556 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009225/0.7935, allocations: 0.599 MB / 0.7562 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.7982, allocations: 1.986 MB / 0.7581 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.7983, allocations: 0 / 0.7581 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.125e-06/0.7983, allocations: 0 / 0.7581 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.7983, allocations: 0 / 0.7581 GB, free: 6.156 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.002954/0.8013, allocations: 1.449 MB / 0.7595 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8013, allocations: 12.03 kB / 0.7595 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.8031, allocations: 274.4 kB / 0.7598 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.8043, allocations: 0.7363 MB / 0.7605 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.8044, allocations: 53.98 kB / 0.7606 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.8045, allocations: 75.94 kB / 0.7606 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/0.8074, allocations: 1.133 MB / 0.7617 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.8074, allocations: 0 / 0.7617 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/0.8075, allocations: 32 kB / 0.7618 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.8075, allocations: 20 kB / 0.7618 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.8102, allocations: 0.9758 MB / 0.7627 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.8153, allocations: 3.812 MB / 0.7665 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.8175, allocations: 0.656 MB / 0.7671 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.818, allocations: 281.3 kB / 0.7674 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.8184, allocations: 121.4 kB / 0.7675 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.8184, allocations: 43.83 kB / 0.7675 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006549/0.8191, allocations: 115.5 kB / 0.7676 GB, free: 11.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/0.8191, allocations: 3.938 kB / 0.7677 GB, free: 11.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.009115/0.8282, allocations: 1.962 MB / 0.7696 GB, free: 9.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.8283, allocations: 55.41 kB / 0.7696 GB, free: 9.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.8293, allocations: 0.7979 MB / 0.7704 GB, free: 9.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/0.8294, allocations: 37.7 kB / 0.7704 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.8297, allocations: 432 kB / 0.7708 GB, free: 8.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.8299, allocations: 138 kB / 0.771 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.8301, allocations: 114.1 kB / 0.7711 GB, free: 8.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8302, allocations: 322 kB / 0.7714 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/0.831, allocations: 330.8 kB / 0.7717 GB, free: 7.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.8319, allocations: 469.9 kB / 0.7722 GB, free: 7.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.8337, allocations: 0.7435 MB / 0.7729 GB, free: 6.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8337, allocations: 4 kB / 0.7729 GB, free: 6.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005556/0.8393, allocations: 1.444 MB / 0.7743 GB, free: 4.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.8393, allocations: 11.98 kB / 0.7743 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8393, allocations: 0.5625 kB / 0.7743 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.8403, allocations: 288.8 kB / 0.7746 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.841, allocations: 115.8 kB / 0.7747 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.8517, allocations: 3.737 MB / 0.7783 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.8528, allocations: 71.92 kB / 0.7784 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.8528, allocations: 23.98 kB / 0.7784 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007912/0.8536, allocations: 429 kB / 0.7788 GB, free: 104 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005673/0.8542, allocations: 385.4 kB / 0.7792 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001017/0.8552, allocations: 0.5809 MB / 0.7798 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.8553, allocations: 160 / 0.7798 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.00149/0.8567, allocations: 0.7621 MB / 0.7805 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8568, allocations: 4 kB / 0.7805 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8568, allocations: 4 kB / 0.7805 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.857, allocations: 68.75 kB / 0.7806 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.8576, allocations: 120 kB / 0.7807 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/0.8594, allocations: 1.867 MB / 0.7825 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.8603, allocations: 39.98 kB / 0.7826 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.8603, allocations: 24.17 kB / 0.7826 GB, free: 12.02 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.0003793/0.8607, allocations: 208.1 kB / 0.7828 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.8609, allocations: 90.97 kB / 0.7829 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.866, allocations: 1.251 MB / 0.7841 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.866, allocations: 4 kB / 0.7841 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.866, allocations: 3.938 kB / 0.7841 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.866, allocations: 3.984 kB / 0.7841 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/0.8717, allocations: 2.18 MB / 0.7862 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.8718, allocations: 4 kB / 0.7863 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004299/0.8722, allocations: 84.2 kB / 0.7863 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009642/0.8732, allocations: 288.6 kB / 0.7866 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.8733, allocations: 12 kB / 0.7866 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009779/0.883, allocations: 3.582 MB / 0.7901 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.8831, allocations: 4 kB / 0.7901 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.8875, allocations: 1.341 MB / 0.7914 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.8881, allocations: 236 kB / 0.7917 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8882, allocations: 8 kB / 0.7917 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8893, allocations: 79.91 kB / 0.7917 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.8894, allocations: 43.88 kB / 0.7918 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.8895, allocations: 39.92 kB / 0.7918 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008221/0.8904, allocations: 0.5497 MB / 0.7924 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8904, allocations: 0 / 0.7924 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001448/0.8918, allocations: 483.1 kB / 0.7928 GB, free: 1.219 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.0004393/0.8923, allocations: 202.8 kB / 0.793 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003592/0.8959, allocations: 1.42 MB / 0.7944 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8959, allocations: 0 / 0.7944 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.8976, allocations: 0.6005 MB / 0.795 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.9, allocations: 0.5217 MB / 0.7955 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.9058, allocations: 1.886 MB / 0.7973 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/0.9064, allocations: 1.01 MB / 0.7983 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009185/0.9074, allocations: 242.9 kB / 0.7986 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.9076, allocations: 75.3 kB / 0.7986 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.9076, allocations: 0 / 0.7986 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.03856/0.9462, allocations: 23.11 MB / 0.8212 GB, free: 4.152 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)