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.001032/0.001032, 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.001221/0.001221, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.695/1.695, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.422/0.422, allocations: 54.92 MB / 324.3 MB, free: 20 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.001377/0.001377, allocations: 68.28 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1558, allocations: 59.6 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.8656/1.021, allocations: 237.8 MB / 0.6759 GB, free: 19.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01203/1.034, allocations: 6.914 MB / 0.6826 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/1.036, allocations: 43.66 kB / 0.6827 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/1.038, allocations: 0.5381 MB / 0.6832 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003198/1.041, allocations: 1.069 MB / 0.6842 GB, free: 19.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003961/1.045, allocations: 1.471 MB / 0.6857 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004932/1.05, allocations: 3.365 MB / 0.689 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/1.051, allocations: 0.7631 MB / 0.6897 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/1.055, allocations: 1.323 MB / 0.691 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/1.056, allocations: 0.8387 MB / 0.6918 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/1.056, allocations: 57.03 kB / 0.6919 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/1.06, allocations: 1.642 MB / 0.6935 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/1.061, allocations: 362.5 kB / 0.6938 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/1.062, allocations: 0.5624 MB / 0.6944 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/1.065, allocations: 2.008 MB / 0.6963 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.065, allocations: 0 / 0.6963 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/1.065, allocations: 0 / 0.6963 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.652e-05/1.065, allocations: 0 / 0.6963 GB, free: 18.59 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.002856/1.068, allocations: 1.459 MB / 0.6978 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.068, allocations: 12.44 kB / 0.6978 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/1.07, allocations: 278.9 kB / 0.698 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.071, allocations: 0.6922 MB / 0.6987 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/1.071, allocations: 51.94 kB / 0.6988 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.071, allocations: 67.88 kB / 0.6988 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.074, allocations: 1.138 MB / 0.6999 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.074, allocations: 0 / 0.6999 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.074, allocations: 37.5 kB / 0.7 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.074, allocations: 19.47 kB / 0.7 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/1.077, allocations: 0.9837 MB / 0.7009 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/1.082, allocations: 3.807 MB / 0.7047 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.084, allocations: 0.6546 MB / 0.7053 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/1.084, allocations: 282.7 kB / 0.7056 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/1.085, allocations: 127.8 kB / 0.7057 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.085, allocations: 39.36 kB / 0.7057 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008081/1.085, allocations: 202.3 kB / 0.7059 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/1.085, allocations: 0 / 0.7059 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.008016/1.093, allocations: 1.939 MB / 0.7078 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.094, allocations: 54.31 kB / 0.7079 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.095, allocations: 0.7968 MB / 0.7087 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/1.095, allocations: 36.48 kB / 0.7087 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/1.095, allocations: 432.1 kB / 0.7091 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.095, allocations: 144.5 kB / 0.7092 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.095, allocations: 108.5 kB / 0.7093 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/1.095, allocations: 323 kB / 0.7096 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/1.096, allocations: 319.5 kB / 0.71 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/1.097, allocations: 461.4 kB / 0.7104 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/1.098, allocations: 0.7339 MB / 0.7111 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.098, allocations: 4.406 kB / 0.7111 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005315/1.104, allocations: 1.425 MB / 0.7125 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.104, allocations: 8.094 kB / 0.7125 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.104, allocations: 5.875 kB / 0.7125 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/1.105, allocations: 292.2 kB / 0.7128 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/1.105, allocations: 111.1 kB / 0.7129 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009578/1.115, allocations: 3.487 MB / 0.7163 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.116, allocations: 104.4 kB / 0.7164 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/1.116, allocations: 34.97 kB / 0.7164 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000737/1.117, allocations: 417 kB / 0.7168 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000431/1.117, allocations: 377.3 kB / 0.7172 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008069/1.118, allocations: 0.5686 MB / 0.7178 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/1.118, allocations: 0 / 0.7178 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001202/1.119, allocations: 0.7392 MB / 0.7185 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.12, allocations: 7.984 kB / 0.7185 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.12, allocations: 4 kB / 0.7185 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/1.12, allocations: 61.52 kB / 0.7185 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/1.12, allocations: 115.5 kB / 0.7187 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/1.121, allocations: 1.69 MB / 0.7203 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/1.122, allocations: 71.22 kB / 0.7204 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/1.122, allocations: 23.55 kB / 0.7204 GB, free: 5.586 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.0002422/1.122, allocations: 209.7 kB / 0.7206 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.123, allocations: 90.97 kB / 0.7207 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/1.127, allocations: 1.219 MB / 0.7219 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/1.127, allocations: 4 kB / 0.7219 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.127, allocations: 3.938 kB / 0.7219 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.127, allocations: 7.938 kB / 0.7219 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/1.132, allocations: 2.159 MB / 0.724 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.132, allocations: 4 kB / 0.724 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/1.132, allocations: 78.17 kB / 0.7241 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008311/1.133, allocations: 286.1 kB / 0.7243 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/1.133, allocations: 20.61 kB / 0.7244 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008783/1.142, allocations: 3.284 MB / 0.7276 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.142, allocations: 4.031 kB / 0.7276 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/1.147, allocations: 1.322 MB / 0.7289 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/1.148, allocations: 236 kB / 0.7291 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.148, allocations: 8 kB / 0.7291 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.149, allocations: 108.9 kB / 0.7292 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.149, allocations: 42.78 kB / 0.7292 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.149, allocations: 31.97 kB / 0.7293 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009384/1.15, allocations: 0.5565 MB / 0.7298 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.91e-07/1.15, allocations: 0 / 0.7298 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00216/1.153, allocations: 0.4952 MB / 0.7303 GB, free: 12.01 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.0005739/1.153, allocations: 200 kB / 0.7305 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.157, allocations: 1.391 MB / 0.7319 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.157, allocations: 5.062 kB / 0.7319 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.159, allocations: 0.5914 MB / 0.7324 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.162, allocations: 0.5595 MB / 0.733 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/1.169, allocations: 2.187 MB / 0.7351 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.17, allocations: 1.014 MB / 0.7361 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001604/1.172, allocations: 230.7 kB / 0.7363 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/1.172, allocations: 71.41 kB / 0.7364 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/1.172, allocations: 0 / 0.7364 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of Templates: time 0.03775/1.21, allocations: 22.09 MB / 0.758 GB, free: 15.93 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)