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.001046/0.001046, allocations: 103.4 kB / 16.35 MB, free: 5.828 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.001084/0.001084, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 296.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9097/0.9097, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 91.08 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1753, allocations: 86.98 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5267/0.702, allocations: 241.9 MB / 0.9178 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.72, allocations: 13.53 MB / 0.931 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.7219, allocations: 59.62 kB / 0.9311 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.7243, allocations: 0.9821 MB / 0.932 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.7285, allocations: 1.773 MB / 0.9338 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.7315, allocations: 1.248 MB / 0.935 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004213/0.7357, allocations: 3.264 MB / 0.9382 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.737, allocations: 1.055 MB / 0.9392 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008346/0.7454, allocations: 4.125 MB / 0.9432 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.7467, allocations: 0.8944 MB / 0.9441 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.7469, allocations: 83.98 kB / 0.9442 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.7483, allocations: 0.6975 MB / 0.9449 GB, free: 492 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.7486, allocations: 442.5 kB / 0.9453 GB, free: 48 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006825/0.7493, allocations: 0.6839 MB / 0.946 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.751, allocations: 1.534 MB / 0.9475 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.751, allocations: 0 / 0.9475 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.751, allocations: 0 / 0.9475 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.751, allocations: 0 / 0.9475 GB, free: 13.82 MB / 0.7169 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.002187/0.7532, allocations: 1.635 MB / 0.9491 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.7533, allocations: 8.031 kB / 0.9491 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.7539, allocations: 198.2 kB / 0.9493 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.7554, allocations: 0.9049 MB / 0.9501 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.7555, allocations: 125.4 kB / 0.9503 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.7556, allocations: 84 kB / 0.9503 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.7569, allocations: 0.9151 MB / 0.9512 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7569, allocations: 4 kB / 0.9512 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.757, allocations: 32 kB / 0.9513 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.757, allocations: 20 kB / 0.9513 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.7579, allocations: 0.5188 MB / 0.9518 GB, free: 9.168 MB / 0.7169 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.004343/0.7622, allocations: 4.849 MB / 0.9565 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.7628, allocations: 420.6 kB / 0.9569 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.7631, allocations: 275.7 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.7633, allocations: 97.09 kB / 0.9573 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.7633, allocations: 54.48 kB / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.7634, allocations: 0 / 0.9573 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001649/0.765, allocations: 0.7793 MB / 0.9581 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.7652, allocations: 409.8 kB / 0.9585 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.7665, allocations: 1.263 MB / 0.9597 GB, free: 400 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.7666, allocations: 41.7 kB / 0.9598 GB, free: 352 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.2474/1.014, allocations: 0.5409 MB / 0.9603 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.014, allocations: 109.4 kB / 0.9604 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.014, allocations: 83.27 kB / 0.9605 GB, free: 252.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/1.014, allocations: 319.4 kB / 0.9608 GB, free: 252.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/1.015, allocations: 92.41 kB / 0.9609 GB, free: 252.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/1.015, allocations: 342.2 kB / 0.9612 GB, free: 252 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/1.015, allocations: 328 kB / 0.9615 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.015, allocations: 1.125 kB / 0.9615 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008805/1.016, allocations: 497 kB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.016, allocations: 7.391 kB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.016, allocations: 3.5 kB / 0.962 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/1.017, allocations: 74.55 kB / 0.9621 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/1.017, allocations: 58.47 kB / 0.9621 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/1.019, allocations: 3.26 MB / 0.9653 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/1.019, allocations: 98.78 kB / 0.9654 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/1.019, allocations: 22.27 kB / 0.9654 GB, free: 248.8 MB / 0.7169 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.0003596/1.02, allocations: 275.5 kB / 0.9657 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/1.02, allocations: 140.9 kB / 0.9658 GB, free: 248.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/1.02, allocations: 128.4 kB / 0.9659 GB, free: 248.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.02, allocations: 5.75 kB / 0.9659 GB, free: 248.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.02, allocations: 5.281 kB / 0.9659 GB, free: 248.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.02, allocations: 5 kB / 0.9659 GB, free: 248.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/1.023, allocations: 2.524 MB / 0.9684 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.023, allocations: 5.656 kB / 0.9684 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/1.023, allocations: 50.7 kB / 0.9685 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/1.023, allocations: 70 kB / 0.9685 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.023, allocations: 11.78 kB / 0.9685 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/1.025, allocations: 3.257 MB / 0.9717 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.025, allocations: 10.53 kB / 0.9717 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/1.026, allocations: 0.6727 MB / 0.9724 GB, free: 242.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/1.026, allocations: 244.3 kB / 0.9726 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.026, allocations: 13.83 kB / 0.9726 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/1.027, allocations: 43.66 kB / 0.9727 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.027, allocations: 47.69 kB / 0.9727 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/1.027, allocations: 22.05 kB / 0.9727 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001107/1.028, allocations: 0.8735 MB / 0.9736 GB, free: 242.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0.875 kB / 0.9736 GB, free: 242.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009499/1.029, allocations: 260.5 kB / 0.9738 GB, free: 242.3 MB / 0.7169 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.0004612/1.03, allocations: 228.6 kB / 0.9741 GB, free: 242.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009717/1.031, allocations: 0.5217 MB / 0.9746 GB, free: 241.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.031, allocations: 4.531 kB / 0.9746 GB, free: 241.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/1.031, allocations: 404 kB / 0.975 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/1.034, allocations: 0.7455 MB / 0.9757 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/1.036, allocations: 1.823 MB / 0.9775 GB, free: 240.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/1.037, allocations: 1.133 MB / 0.9786 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007297/1.038, allocations: 245.9 kB / 0.9788 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.038, allocations: 77.48 kB / 0.9789 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/1.038, allocations: 0 / 0.9789 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.03844/1.076, allocations: 23.23 MB / 1.002 GB, free: 231.7 MB / 0.7169 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)