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.001676/0.001676, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.652/1.652, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4349/0.4349, allocations: 54.94 MB / 324.7 MB, free: 15.96 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.002287/0.002287, allocations: 67.89 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1513, allocations: 59.59 MB / 454.9 MB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.8424/0.9938, allocations: 239.9 MB / 0.6785 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01311/1.007, allocations: 6.823 MB / 0.6852 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/1.01, allocations: 49.84 kB / 0.6852 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/1.012, allocations: 0.6305 MB / 0.6859 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/1.017, allocations: 1.119 MB / 0.6869 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/1.023, allocations: 1.61 MB / 0.6885 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005622/1.028, allocations: 2.394 MB / 0.6909 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/1.03, allocations: 0.8911 MB / 0.6917 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/1.035, allocations: 1.461 MB / 0.6932 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/1.038, allocations: 0.808 MB / 0.6939 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000355/1.038, allocations: 99.09 kB / 0.694 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/1.042, allocations: 1.478 MB / 0.6955 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006957/1.043, allocations: 399.8 kB / 0.6959 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/1.044, allocations: 0.598 MB / 0.6964 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004366/1.048, allocations: 1.975 MB / 0.6984 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.049, allocations: 0.625 kB / 0.6984 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.657e-06/1.049, allocations: 1.094 kB / 0.6984 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.852e-05/1.049, allocations: 0 / 0.6984 GB, free: 18.71 MB / 0.4981 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.003261/1.052, allocations: 1.456 MB / 0.6998 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/1.052, allocations: 10.53 kB / 0.6998 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/1.054, allocations: 274.2 kB / 0.7001 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/1.055, allocations: 0.6851 MB / 0.7007 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/1.055, allocations: 57.41 kB / 0.7008 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.055, allocations: 68.47 kB / 0.7009 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.058, allocations: 1.138 MB / 0.702 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.058, allocations: 3.938 kB / 0.702 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/1.058, allocations: 33.81 kB / 0.702 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.058, allocations: 15.62 kB / 0.702 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/1.061, allocations: 0.9796 MB / 0.703 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/1.067, allocations: 3.832 MB / 0.7067 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.07, allocations: 0.6616 MB / 0.7074 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/1.07, allocations: 281.8 kB / 0.7076 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/1.071, allocations: 118.8 kB / 0.7077 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.071, allocations: 49.84 kB / 0.7078 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008925/1.072, allocations: 122.5 kB / 0.7079 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 3.997e-06/1.072, allocations: 0.75 kB / 0.7079 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.008702/1.08, allocations: 1.954 MB / 0.7098 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.081, allocations: 57.47 kB / 0.7099 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.082, allocations: 0.7972 MB / 0.7107 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.082, allocations: 38.2 kB / 0.7107 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/1.082, allocations: 432 kB / 0.7111 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.082, allocations: 140.6 kB / 0.7112 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/1.082, allocations: 111.6 kB / 0.7113 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/1.082, allocations: 330.2 kB / 0.7117 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/1.083, allocations: 330.9 kB / 0.712 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/1.084, allocations: 471.1 kB / 0.7124 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/1.086, allocations: 0.7461 MB / 0.7131 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.086, allocations: 2.969 kB / 0.7132 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005281/1.091, allocations: 1.444 MB / 0.7146 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.091, allocations: 5.938 kB / 0.7146 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.091, allocations: 3.281 kB / 0.7146 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.092, allocations: 286.7 kB / 0.7148 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/1.093, allocations: 114.1 kB / 0.715 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009848/1.103, allocations: 3.735 MB / 0.7186 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.104, allocations: 69.48 kB / 0.7187 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/1.104, allocations: 25.67 kB / 0.7187 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006816/1.104, allocations: 433.5 kB / 0.7191 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004392/1.105, allocations: 376.9 kB / 0.7195 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008312/1.106, allocations: 0.5784 MB / 0.72 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.106, allocations: 4 kB / 0.72 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001298/1.107, allocations: 0.7591 MB / 0.7208 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/1.107, allocations: 4.375 kB / 0.7208 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.107, allocations: 8 kB / 0.7208 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/1.107, allocations: 62.44 kB / 0.7208 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/1.108, allocations: 113.8 kB / 0.721 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/1.109, allocations: 1.874 MB / 0.7228 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/1.11, allocations: 43.58 kB / 0.7228 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.11, allocations: 22.73 kB / 0.7228 GB, free: 5.887 MB / 0.4981 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.0002449/1.11, allocations: 214.4 kB / 0.7231 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/1.11, allocations: 86.97 kB / 0.7231 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/1.114, allocations: 1.248 MB / 0.7244 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.115, allocations: 4 kB / 0.7244 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/1.115, allocations: 4 kB / 0.7244 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.115, allocations: 3.984 kB / 0.7244 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/1.12, allocations: 2.173 MB / 0.7265 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.12, allocations: 7.938 kB / 0.7265 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/1.12, allocations: 79.14 kB / 0.7266 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008563/1.121, allocations: 292.1 kB / 0.7268 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/1.121, allocations: 17.38 kB / 0.7269 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00951/1.13, allocations: 3.583 MB / 0.7304 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.13, allocations: 3.938 kB / 0.7304 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/1.135, allocations: 1.342 MB / 0.7317 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/1.136, allocations: 236 kB / 0.7319 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.136, allocations: 8 kB / 0.7319 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/1.137, allocations: 79.91 kB / 0.732 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.137, allocations: 38.98 kB / 0.732 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/1.137, allocations: 39.97 kB / 0.7321 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008199/1.138, allocations: 0.5497 MB / 0.7326 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.138, allocations: 0 / 0.7326 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001634/1.14, allocations: 475.2 kB / 0.7331 GB, free: 11.21 MB / 0.5137 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.0005042/1.14, allocations: 207 kB / 0.7333 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003683/1.144, allocations: 1.445 MB / 0.7347 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.144, allocations: 4 kB / 0.7347 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.146, allocations: 0.6012 MB / 0.7353 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.148, allocations: 0.5362 MB / 0.7358 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/1.155, allocations: 1.894 MB / 0.7376 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/1.155, allocations: 1.017 MB / 0.7386 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001156/1.156, allocations: 234 kB / 0.7388 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/1.157, allocations: 67.42 kB / 0.7389 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/1.157, allocations: 0 / 0.7389 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of Templates: time 0.03768/1.194, allocations: 22.99 MB / 0.7614 GB, free: 14.53 MB / 0.545 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)