Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001197/0.001197, allocations: 195.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.002171, allocations: 282.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003139/0.003139, allocations: 89.3 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1927, allocations: 87 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6339/0.8266, allocations: 239 MB / 0.913 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.8443, allocations: 13.45 MB / 0.9261 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00288/0.8473, allocations: 55.62 kB / 0.9262 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.85, allocations: 0.851 MB / 0.927 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.8551, allocations: 1.668 MB / 0.9286 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.8581, allocations: 1.127 MB / 0.9297 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00446/0.8626, allocations: 3.287 MB / 0.9329 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.864, allocations: 1.008 MB / 0.9339 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.8741, allocations: 4.013 MB / 0.9378 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.8756, allocations: 0.9684 MB / 0.9388 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.8757, allocations: 80 kB / 0.9389 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.8772, allocations: 0.7402 MB / 0.9396 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.8776, allocations: 438.6 kB / 0.94 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.8783, allocations: 0.6916 MB / 0.9407 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.8801, allocations: 1.596 MB / 0.9422 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8802, allocations: 4 kB / 0.9422 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8802, allocations: 0 / 0.9422 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.8802, allocations: 0 / 0.9422 GB, free: 10.76 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00212/0.8823, allocations: 1.628 MB / 0.9438 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.8824, allocations: 8.031 kB / 0.9438 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007256/0.8831, allocations: 202.1 kB / 0.944 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.8843, allocations: 0.8309 MB / 0.9448 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.8844, allocations: 121.4 kB / 0.945 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.8845, allocations: 80 kB / 0.945 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.8859, allocations: 0.9181 MB / 0.9459 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.8859, allocations: 15.86 kB / 0.9459 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.886, allocations: 36 kB / 0.946 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.886, allocations: 20 kB / 0.946 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008219/0.8868, allocations: 0.5033 MB / 0.9465 GB, free: 6.191 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.8912, allocations: 4.878 MB / 0.9513 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.8918, allocations: 416.7 kB / 0.9517 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.8921, allocations: 263.8 kB / 0.9519 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.8923, allocations: 101.2 kB / 0.952 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.8923, allocations: 58.52 kB / 0.9521 GB, free: 15.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.8923, allocations: 0 / 0.9521 GB, free: 15.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001677/0.894, allocations: 0.7827 MB / 0.9528 GB, free: 15.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.8942, allocations: 405.8 kB / 0.9532 GB, free: 14.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.8955, allocations: 1.271 MB / 0.9545 GB, free: 13.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.8956, allocations: 37.7 kB / 0.9545 GB, free: 13.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.896, allocations: 0.5456 MB / 0.955 GB, free: 12.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.8961, allocations: 110.4 kB / 0.9551 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8962, allocations: 81.61 kB / 0.9552 GB, free: 12.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.8963, allocations: 317.9 kB / 0.9555 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.8965, allocations: 103.7 kB / 0.9556 GB, free: 12.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.8969, allocations: 339.5 kB / 0.9559 GB, free: 11.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.8973, allocations: 332.5 kB / 0.9562 GB, free: 11.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8973, allocations: 0 / 0.9562 GB, free: 11.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007719/0.8981, allocations: 497.1 kB / 0.9567 GB, free: 10.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.8981, allocations: 4 kB / 0.9567 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.8982, allocations: 4 kB / 0.9567 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.8984, allocations: 74.02 kB / 0.9568 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.8986, allocations: 61.91 kB / 0.9569 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.9012, allocations: 3.256 MB / 0.96 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.902, allocations: 112.3 kB / 0.9601 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.902, allocations: 23.98 kB / 0.9602 GB, free: 7.066 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.9024, allocations: 274.3 kB / 0.9604 GB, free: 6.789 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.9028, allocations: 138.3 kB / 0.9606 GB, free: 6.652 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.9029, allocations: 128 kB / 0.9607 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.903, allocations: 7.938 kB / 0.9607 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.903, allocations: 11.94 kB / 0.9607 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.903, allocations: 4 kB / 0.9607 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.906, allocations: 2.504 MB / 0.9632 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.906, allocations: 8 kB / 0.9632 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.9062, allocations: 54.16 kB / 0.9632 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.9064, allocations: 81.73 kB / 0.9633 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.9064, allocations: 12 kB / 0.9633 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.9087, allocations: 3.264 MB / 0.9665 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.9087, allocations: 16 kB / 0.9665 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.9096, allocations: 0.6701 MB / 0.9672 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.91, allocations: 247.4 kB / 0.9674 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.9101, allocations: 16.81 kB / 0.9674 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.9108, allocations: 63.78 kB / 0.9675 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.9109, allocations: 43.83 kB / 0.9675 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.9109, allocations: 20 kB / 0.9675 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001304/0.9122, allocations: 0.8802 MB / 0.9684 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9123, allocations: 0 / 0.9684 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001596/0.9139, allocations: 263.8 kB / 0.9686 GB, free: 13.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.9145, allocations: 216.1 kB / 0.9688 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.9159, allocations: 0.5326 MB / 0.9694 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.916, allocations: 0 / 0.9694 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.9168, allocations: 411 kB / 0.9698 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/0.9221, allocations: 0.7408 MB / 0.9705 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.9267, allocations: 2.176 MB / 0.9726 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.928, allocations: 1.127 MB / 0.9737 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001389/0.9294, allocations: 254.5 kB / 0.974 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.9297, allocations: 75.44 kB / 0.974 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.9297, allocations: 4 kB / 0.974 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of Templates: time 0.07246/1.002, allocations: 23.09 MB / 0.9966 GB, free: 1.488 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)