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.001651/0.00165, allocations: 113.3 kB / 16.41 MB, free: 6.484 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.001994/0.001995, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 281.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 99.84 kB / 0.6821 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5009, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6906/1.192, allocations: 241.9 MB / 1.003 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.207, allocations: 13.53 MB / 1.017 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/1.21, allocations: 59.75 kB / 1.017 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/1.212, allocations: 0.9735 MB / 1.018 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/1.217, allocations: 1.791 MB / 1.019 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/1.221, allocations: 1.245 MB / 1.02 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004822/1.226, allocations: 3.252 MB / 1.024 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/1.229, allocations: 1.06 MB / 1.025 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/1.24, allocations: 4.14 MB / 1.029 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/1.242, allocations: 0.8941 MB / 1.03 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006347/1.243, allocations: 79.81 kB / 1.03 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/1.246, allocations: 0.7008 MB / 1.03 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008696/1.247, allocations: 442 kB / 1.031 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.248, allocations: 0.6856 MB / 1.031 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/1.252, allocations: 1.546 MB / 1.033 GB, free: 188 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.252, allocations: 0 / 1.033 GB, free: 188 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/1.252, allocations: 3.031 kB / 1.033 GB, free: 188 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.089e-05/1.252, allocations: 0 / 1.033 GB, free: 188 kB / 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.003433/1.255, allocations: 1.625 MB / 1.035 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.255, allocations: 8.25 kB / 1.035 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/1.256, allocations: 203.2 kB / 1.035 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.258, allocations: 0.9046 MB / 1.036 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.258, allocations: 121.2 kB / 1.036 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.258, allocations: 88.28 kB / 1.036 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.259, allocations: 0.9154 MB / 1.037 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/1.259, allocations: 3.094 kB / 1.037 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/1.26, allocations: 32.34 kB / 1.037 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/1.26, allocations: 24.2 kB / 1.037 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/1.26, allocations: 0.5136 MB / 1.037 GB, free: 14.46 MB / 0.7325 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.004742/1.265, allocations: 4.855 MB / 1.042 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/1.266, allocations: 425.5 kB / 1.042 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/1.266, allocations: 263.4 kB / 1.043 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/1.266, allocations: 101.9 kB / 1.043 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.266, allocations: 54.81 kB / 1.043 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/1.266, allocations: 0 / 1.043 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001807/1.268, allocations: 0.7759 MB / 1.044 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/1.268, allocations: 404.9 kB / 1.044 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.27, allocations: 1.275 MB / 1.045 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.27, allocations: 41.48 kB / 1.045 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/1.27, allocations: 0.5461 MB / 1.046 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.447e-05/1.27, allocations: 107 kB / 1.046 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/1.271, allocations: 80.56 kB / 1.046 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.271, allocations: 319.5 kB / 1.046 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/1.271, allocations: 92.77 kB / 1.046 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/1.271, allocations: 337.2 kB / 1.047 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/1.272, allocations: 330.3 kB / 1.047 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.272, allocations: 1.312 kB / 1.047 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009768/1.273, allocations: 497.3 kB / 1.047 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.273, allocations: 5.969 kB / 1.047 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.273, allocations: 3.781 kB / 1.047 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/1.273, allocations: 81.02 kB / 1.048 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/1.273, allocations: 57.34 kB / 1.048 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.276, allocations: 3.251 MB / 1.051 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/1.277, allocations: 103.8 kB / 1.051 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.277, allocations: 20.09 kB / 1.051 GB, free: 5.363 MB / 0.7325 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.0004714/1.277, allocations: 283.7 kB / 1.051 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/1.278, allocations: 136.4 kB / 1.051 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/1.278, allocations: 124.2 kB / 1.051 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.278, allocations: 5.344 kB / 1.051 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.278, allocations: 8.344 kB / 1.051 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.278, allocations: 2.875 kB / 1.051 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/1.281, allocations: 2.525 MB / 1.054 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.281, allocations: 6.219 kB / 1.054 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/1.281, allocations: 51.52 kB / 1.054 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/1.281, allocations: 77.42 kB / 1.054 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.282, allocations: 13.38 kB / 1.054 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/1.284, allocations: 3.253 MB / 1.057 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/1.284, allocations: 9.531 kB / 1.057 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/1.285, allocations: 0.6813 MB / 1.058 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/1.285, allocations: 250 kB / 1.058 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/1.285, allocations: 23.2 kB / 1.058 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/1.286, allocations: 40.2 kB / 1.058 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/1.286, allocations: 42.73 kB / 1.058 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/1.286, allocations: 16.14 kB / 1.058 GB, free: 16 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001531/1.288, allocations: 0.9154 MB / 1.059 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.288, allocations: 0 / 1.059 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001111/1.289, allocations: 260.6 kB / 1.059 GB, free: 15.82 MB / 0.7481 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.0005002/1.289, allocations: 209.4 kB / 1.06 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009568/1.29, allocations: 0.5206 MB / 1.06 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.29, allocations: 0 / 1.06 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/1.291, allocations: 403.5 kB / 1.061 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.294, allocations: 0.7502 MB / 1.061 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.297, allocations: 1.874 MB / 1.063 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/1.297, allocations: 1.126 MB / 1.064 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/1.297, allocations: 81.19 kB / 1.064 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.297, allocations: 0 / 1.064 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.03923/1.337, allocations: 27.68 MB / 1.091 GB, free: 3.59 MB / 0.7637 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)