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.001034/0.001035, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00918/0.009181, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.705/1.705, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4105/0.4105, allocations: 55.02 MB / 325.8 MB, free: 0.5781 MB / 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.0005366/0.0005367, allocations: 12.22 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3914, allocations: 60.71 MB / 458 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.5705/0.9619, allocations: 234.6 MB / 0.6763 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.9738, allocations: 6.851 MB / 0.683 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.976, allocations: 44.94 kB / 0.6831 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.9782, allocations: 0.5275 MB / 0.6836 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.9826, allocations: 1.072 MB / 0.6846 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006057/0.9887, allocations: 1.467 MB / 0.6861 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007129/0.9959, allocations: 3.372 MB / 0.6893 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.9987, allocations: 0.744 MB / 0.6901 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/1.004, allocations: 1.31 MB / 0.6913 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/1.007, allocations: 0.8247 MB / 0.6922 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005664/1.008, allocations: 50.56 kB / 0.6922 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/1.013, allocations: 1.639 MB / 0.6938 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/1.014, allocations: 355.1 kB / 0.6941 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002538/1.016, allocations: 0.5696 MB / 0.6947 GB, free: 17.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/1.022, allocations: 1.98 MB / 0.6966 GB, free: 17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.022, allocations: 0.7812 kB / 0.6966 GB, free: 17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.607e-06/1.022, allocations: 2.672 kB / 0.6966 GB, free: 17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.692e-05/1.022, allocations: 2.219 kB / 0.6966 GB, free: 17 MB / 0.5137 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.004438/1.027, allocations: 1.241 MB / 0.6979 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.027, allocations: 10.25 kB / 0.6979 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/1.029, allocations: 274.9 kB / 0.6981 GB, free: 16.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/1.031, allocations: 0.6939 MB / 0.6988 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/1.032, allocations: 59.97 kB / 0.6989 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/1.032, allocations: 68.28 kB / 0.6989 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/1.036, allocations: 1.183 MB / 0.7001 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.036, allocations: 5.781 kB / 0.7001 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.036, allocations: 32.78 kB / 0.7001 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/1.036, allocations: 16.19 kB / 0.7001 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/1.039, allocations: 1.038 MB / 0.7011 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/1.045, allocations: 3.821 MB / 0.7049 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/1.047, allocations: 0.7182 MB / 0.7056 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005573/1.048, allocations: 284.4 kB / 0.7058 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.048, allocations: 135.2 kB / 0.706 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.048, allocations: 39.61 kB / 0.706 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001092/1.049, allocations: 214.4 kB / 0.7062 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 5.44e-06/1.049, allocations: 0 / 0.7062 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.00856/1.058, allocations: 2.127 MB / 0.7083 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.058, allocations: 54.34 kB / 0.7083 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.059, allocations: 0.7966 MB / 0.7091 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/1.059, allocations: 32.7 kB / 0.7092 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.059, allocations: 442.9 kB / 0.7096 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/1.06, allocations: 137.7 kB / 0.7097 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/1.06, allocations: 40.14 kB / 0.7097 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.06, allocations: 321.8 kB / 0.7101 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/1.061, allocations: 348 kB / 0.7104 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009868/1.062, allocations: 482.9 kB / 0.7108 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/1.064, allocations: 0.7743 MB / 0.7116 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.064, allocations: 6.781 kB / 0.7116 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.005931/1.069, allocations: 1.563 MB / 0.7131 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/1.07, allocations: 185.5 kB / 0.7133 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.07, allocations: 3.562 kB / 0.7133 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/1.071, allocations: 324.7 kB / 0.7136 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/1.072, allocations: 120.8 kB / 0.7137 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.083, allocations: 3.723 MB / 0.7174 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.084, allocations: 116.5 kB / 0.7175 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.084, allocations: 24.92 kB / 0.7175 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/1.084, allocations: 3.375 kB / 0.7175 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/1.086, allocations: 0.6504 MB / 0.7182 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.086, allocations: 6.719 kB / 0.7182 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/1.086, allocations: 73.08 kB / 0.7182 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/1.086, allocations: 117 kB / 0.7183 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/1.088, allocations: 1.69 MB / 0.72 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/1.089, allocations: 81.75 kB / 0.7201 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/1.089, allocations: 31.25 kB / 0.7201 GB, free: 6.469 MB / 0.5137 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.0005316/1.089, allocations: 319.1 kB / 0.7204 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.09, allocations: 84.66 kB / 0.7205 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/1.094, allocations: 1.337 MB / 0.7218 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.094, allocations: 5.719 kB / 0.7218 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/1.094, allocations: 3.938 kB / 0.7218 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.094, allocations: 0 / 0.7218 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/1.1, allocations: 2.267 MB / 0.724 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.1, allocations: 4.125 kB / 0.724 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/1.101, allocations: 91.11 kB / 0.7241 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/1.102, allocations: 314.7 kB / 0.7244 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/1.102, allocations: 17.98 kB / 0.7244 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009854/1.112, allocations: 3.516 MB / 0.7279 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.112, allocations: 5.844 kB / 0.7279 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/1.116, allocations: 1.438 MB / 0.7293 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/1.117, allocations: 236.2 kB / 0.7295 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/1.117, allocations: 18.34 kB / 0.7295 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/1.118, allocations: 114.8 kB / 0.7296 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.118, allocations: 46.59 kB / 0.7297 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/1.119, allocations: 28.86 kB / 0.7297 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007334/1.119, allocations: 0.5469 MB / 0.7302 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.119, allocations: 0 / 0.7302 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001907/1.121, allocations: 0.4971 MB / 0.7307 GB, free: 444 kB / 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.0005782/1.122, allocations: 198.9 kB / 0.7309 GB, free: 272 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00366/1.125, allocations: 1.472 MB / 0.7323 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.126, allocations: 8.312 kB / 0.7323 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.127, allocations: 0.6363 MB / 0.733 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.131, allocations: 0.5476 MB / 0.7335 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/1.137, allocations: 2.234 MB / 0.7357 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/1.138, allocations: 1.01 MB / 0.7367 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001499/1.14, allocations: 233.2 kB / 0.7369 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/1.14, allocations: 68.97 kB / 0.737 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of SimCode: time 3.196e-06/1.14, allocations: 7.938 kB / 0.737 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.03538/1.175, allocations: 21.96 MB / 0.7584 GB, free: 4.949 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: