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.00146/0.00146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001786/0.001787, allocations: 188.7 kB / 16.25 MB, free: 6.617 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.691/1.691, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4288/0.4288, allocations: 54.92 MB / 324.4 MB, free: 88 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.001403/0.001403, allocations: 63.91 kB / 394.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 59.6 MB / 454.4 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.8968/1.038, allocations: 237 MB / 0.6752 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01263/1.051, allocations: 6.787 MB / 0.6819 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/1.053, allocations: 46 kB / 0.6819 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/1.055, allocations: 0.5527 MB / 0.6824 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/1.059, allocations: 1.058 MB / 0.6835 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/1.064, allocations: 1.485 MB / 0.6849 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004529/1.068, allocations: 2.406 MB / 0.6873 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.07, allocations: 0.8636 MB / 0.6881 GB, free: 18.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/1.074, allocations: 1.466 MB / 0.6896 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/1.076, allocations: 0.8599 MB / 0.6904 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/1.076, allocations: 100.9 kB / 0.6905 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/1.08, allocations: 1.525 MB / 0.692 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/1.081, allocations: 403.9 kB / 0.6924 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/1.082, allocations: 0.6029 MB / 0.693 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004728/1.087, allocations: 2.05 MB / 0.695 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.087, allocations: 1 kB / 0.695 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.087, allocations: 0 / 0.695 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.355e-05/1.087, allocations: 0 / 0.695 GB, free: 18.62 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.003101/1.09, allocations: 1.455 MB / 0.6964 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.09, allocations: 10.06 kB / 0.6964 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/1.092, allocations: 276.2 kB / 0.6966 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.093, allocations: 0.6889 MB / 0.6973 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/1.093, allocations: 53 kB / 0.6974 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.093, allocations: 70.64 kB / 0.6974 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/1.096, allocations: 1.141 MB / 0.6986 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.096, allocations: 0 / 0.6986 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/1.096, allocations: 37.33 kB / 0.6986 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/1.096, allocations: 22.69 kB / 0.6986 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/1.099, allocations: 0.9779 MB / 0.6996 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/1.104, allocations: 3.809 MB / 0.7033 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.106, allocations: 0.6595 MB / 0.7039 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/1.107, allocations: 278.4 kB / 0.7042 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/1.107, allocations: 123 kB / 0.7043 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.107, allocations: 48.52 kB / 0.7044 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/1.108, allocations: 167.5 kB / 0.7045 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 4.538e-06/1.108, allocations: 0.9375 kB / 0.7045 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.008899/1.117, allocations: 1.96 MB / 0.7064 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.117, allocations: 58.47 kB / 0.7065 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/1.119, allocations: 0.7966 MB / 0.7073 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/1.119, allocations: 43.7 kB / 0.7073 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.119, allocations: 429.2 kB / 0.7077 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.119, allocations: 139.5 kB / 0.7079 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/1.119, allocations: 107.8 kB / 0.708 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/1.12, allocations: 325 kB / 0.7083 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/1.12, allocations: 329.1 kB / 0.7086 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/1.121, allocations: 473.3 kB / 0.709 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.123, allocations: 0.7472 MB / 0.7098 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.123, allocations: 0 / 0.7098 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005489/1.128, allocations: 1.446 MB / 0.7112 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.128, allocations: 5.469 kB / 0.7112 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.128, allocations: 7.531 kB / 0.7112 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/1.129, allocations: 292.3 kB / 0.7115 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/1.13, allocations: 111.7 kB / 0.7116 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/1.14, allocations: 3.784 MB / 0.7153 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.141, allocations: 110.1 kB / 0.7154 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.141, allocations: 26.12 kB / 0.7154 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006953/1.142, allocations: 428.9 kB / 0.7158 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00044/1.142, allocations: 379.9 kB / 0.7162 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008251/1.143, allocations: 0.5811 MB / 0.7167 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/1.143, allocations: 0 / 0.7167 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001296/1.145, allocations: 0.7584 MB / 0.7175 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.145, allocations: 8 kB / 0.7175 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.145, allocations: 5.375 kB / 0.7175 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/1.145, allocations: 67.38 kB / 0.7176 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/1.145, allocations: 108.4 kB / 0.7177 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/1.147, allocations: 1.874 MB / 0.7195 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/1.148, allocations: 74.34 kB / 0.7196 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/1.148, allocations: 30.28 kB / 0.7196 GB, free: 7.195 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.0002798/1.148, allocations: 212.4 kB / 0.7198 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/1.148, allocations: 88.72 kB / 0.7199 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/1.152, allocations: 1.247 MB / 0.7211 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.152, allocations: 4 kB / 0.7211 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.152, allocations: 0 / 0.7211 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.152, allocations: 4 kB / 0.7211 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/1.158, allocations: 2.175 MB / 0.7232 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.158, allocations: 7.938 kB / 0.7232 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/1.158, allocations: 78.95 kB / 0.7233 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008023/1.159, allocations: 282 kB / 0.7236 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/1.159, allocations: 19.98 kB / 0.7236 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008593/1.167, allocations: 3.581 MB / 0.7271 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.168, allocations: 4.031 kB / 0.7271 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/1.172, allocations: 1.343 MB / 0.7284 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/1.173, allocations: 236 kB / 0.7286 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.173, allocations: 12.48 kB / 0.7286 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.174, allocations: 103.8 kB / 0.7287 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.174, allocations: 50.78 kB / 0.7288 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/1.174, allocations: 28.98 kB / 0.7288 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007395/1.175, allocations: 0.5458 MB / 0.7294 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.693e-06/1.175, allocations: 0 / 0.7294 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001646/1.177, allocations: 0.5068 MB / 0.7298 GB, free: 13.14 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.0004419/1.177, allocations: 187.2 kB / 0.73 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003488/1.181, allocations: 1.453 MB / 0.7314 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.181, allocations: 0 / 0.7314 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.182, allocations: 0.6027 MB / 0.732 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/1.185, allocations: 0.5343 MB / 0.7326 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/1.191, allocations: 2.203 MB / 0.7347 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/1.191, allocations: 1.01 MB / 0.7357 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001264/1.193, allocations: 234.8 kB / 0.7359 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.193, allocations: 71.42 kB / 0.736 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/1.193, allocations: 0 / 0.736 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.034/1.227, allocations: 22.79 MB / 0.7582 GB, free: 380 kB / 0.5294 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)