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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.842/0.842, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 188.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 103.1 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 282.7 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.88 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.336, allocations: 81.28 MB / 0.7679 GB, free: 27.7 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4908/0.8269, allocations: 239.7 MB / 1.002 GB, free: 9.273 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.8441, allocations: 13.59 MB / 1.015 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.8467, allocations: 60.19 kB / 1.015 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.8496, allocations: 0.8212 MB / 1.016 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.8546, allocations: 1.69 MB / 1.018 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.8585, allocations: 1.123 MB / 1.019 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005799/0.8643, allocations: 4.615 MB / 1.023 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.866, allocations: 0.8922 MB / 1.024 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009608/0.8757, allocations: 3.861 MB / 1.028 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.8772, allocations: 0.9567 MB / 1.029 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.8774, allocations: 56 kB / 1.029 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.8793, allocations: 0.9039 MB / 1.03 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.8798, allocations: 434.5 kB / 1.03 GB, free: 324 kB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009958/0.8808, allocations: 0.6488 MB / 1.031 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.8828, allocations: 1.541 MB / 1.032 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8828, allocations: 0 / 1.032 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.91e-07/0.8828, allocations: 4 kB / 1.032 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.013e-05/0.8829, allocations: 0 / 1.032 GB, free: 14.11 MB / 0.6042 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.002361/0.8853, allocations: 1.631 MB / 1.034 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.8853, allocations: 8.031 kB / 1.034 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.8859, allocations: 202.1 kB / 1.034 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.8872, allocations: 0.8309 MB / 1.035 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.8873, allocations: 125.4 kB / 1.035 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.8874, allocations: 80 kB / 1.035 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.8887, allocations: 0.9289 MB / 1.036 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.8887, allocations: 4 kB / 1.036 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.8888, allocations: 32 kB / 1.036 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.8888, allocations: 23.94 kB / 1.036 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.8897, allocations: 0.5033 MB / 1.037 GB, free: 9.547 MB / 0.6042 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.004394/0.8941, allocations: 4.876 MB / 1.041 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.8946, allocations: 416.6 kB / 1.042 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.895, allocations: 275.8 kB / 1.042 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.8952, allocations: 97.09 kB / 1.042 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.8952, allocations: 54.5 kB / 1.042 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.8952, allocations: 0 / 1.042 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001744/0.897, allocations: 0.7819 MB / 1.043 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.8972, allocations: 405.8 kB / 1.043 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.8988, allocations: 1.271 MB / 1.045 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.8989, allocations: 33.7 kB / 1.045 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.8993, allocations: 0.5534 MB / 1.045 GB, free: 136 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.8994, allocations: 106.5 kB / 1.045 GB, free: 28 kB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.8995, allocations: 77.69 kB / 1.045 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8996, allocations: 325.9 kB / 1.046 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.8999, allocations: 95.92 kB / 1.046 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.9003, allocations: 338.8 kB / 1.046 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.9007, allocations: 328.5 kB / 1.046 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9008, allocations: 4 kB / 1.046 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008637/0.9016, allocations: 493.3 kB / 1.047 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9017, allocations: 4 kB / 1.047 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9017, allocations: 7.984 kB / 1.047 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/0.902, allocations: 73.92 kB / 1.047 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.9022, allocations: 59.91 kB / 1.047 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.9044, allocations: 2.919 MB / 1.05 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.9052, allocations: 103.2 kB / 1.05 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.9052, allocations: 20 kB / 1.05 GB, free: 10.77 MB / 0.6198 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.0003418/0.9056, allocations: 288.4 kB / 1.05 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/0.906, allocations: 138.3 kB / 1.05 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.9061, allocations: 128 kB / 1.051 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.9061, allocations: 4 kB / 1.051 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.9062, allocations: 11.98 kB / 1.051 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.9062, allocations: 192 / 1.051 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.9093, allocations: 2.52 MB / 1.053 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.9093, allocations: 8 kB / 1.053 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.9094, allocations: 48.59 kB / 1.053 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.9096, allocations: 77.66 kB / 1.053 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.9097, allocations: 12 kB / 1.053 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.9117, allocations: 2.927 MB / 1.056 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9117, allocations: 8 kB / 1.056 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.9132, allocations: 1.601 MB / 1.058 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.9137, allocations: 247.3 kB / 1.058 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.9139, allocations: 16 kB / 1.058 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007414/0.9146, allocations: 63.86 kB / 1.058 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.9147, allocations: 47.78 kB / 1.058 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.9147, allocations: 12 kB / 1.058 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001133/0.9159, allocations: 0.8802 MB / 1.059 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9159, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00117/0.9171, allocations: 271.7 kB / 1.059 GB, free: 0.9102 MB / 0.6198 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.0004728/0.9175, allocations: 218.4 kB / 1.059 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000951/0.9185, allocations: 0.509 MB / 1.06 GB, free: 168 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9185, allocations: 4.688 kB / 1.06 GB, free: 164 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.9191, allocations: 398.3 kB / 1.06 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.923, allocations: 0.7533 MB / 1.061 GB, free: 15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.9258, allocations: 2.384 MB / 1.063 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.9266, allocations: 1.157 MB / 1.064 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008377/0.9274, allocations: 247 kB / 1.065 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.9276, allocations: 75.44 kB / 1.065 GB, free: 11 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.9276, allocations: 3.938 kB / 1.065 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of Templates: time 0.0388/0.9664, allocations: 22.98 MB / 1.087 GB, free: 4.336 MB / 0.6511 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)