Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 193 kB / 16.53 MB, free: 6.391 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.81 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.9043/1.217, allocations: 241.9 MB / 1.304 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01597/1.233, allocations: 13.54 MB / 1.318 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/1.235, allocations: 60.53 kB / 1.318 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/1.238, allocations: 0.9751 MB / 1.319 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/1.243, allocations: 1.788 MB / 1.32 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/1.246, allocations: 1.218 MB / 1.322 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004234/1.25, allocations: 3.295 MB / 1.325 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.251, allocations: 1.067 MB / 1.326 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00919/1.261, allocations: 4.114 MB / 1.33 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/1.262, allocations: 0.9064 MB / 1.331 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/1.263, allocations: 79.06 kB / 1.331 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/1.265, allocations: 1.035 MB / 1.332 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/1.265, allocations: 445.4 kB / 1.332 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008298/1.266, allocations: 0.6868 MB / 1.333 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/1.269, allocations: 1.628 MB / 1.334 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.269, allocations: 0 / 1.334 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.045e-06/1.269, allocations: 4 kB / 1.334 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.269, allocations: 3.938 kB / 1.334 GB, free: 3.797 MB / 0.9981 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.002332/1.271, allocations: 1.637 MB / 1.336 GB, free: 18.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/1.271, allocations: 8.875 kB / 1.336 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/1.272, allocations: 201.4 kB / 1.336 GB, free: 18.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.273, allocations: 0.8405 MB / 1.337 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.273, allocations: 123.4 kB / 1.337 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/1.273, allocations: 87.59 kB / 1.337 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.275, allocations: 0.9352 MB / 1.338 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.275, allocations: 4 kB / 1.338 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/1.275, allocations: 31.69 kB / 1.338 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.275, allocations: 19.69 kB / 1.338 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/1.276, allocations: 0.5225 MB / 1.339 GB, free: 18.06 MB / 1.014 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.004379/1.28, allocations: 4.909 MB / 1.344 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/1.28, allocations: 437.5 kB / 1.344 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/1.281, allocations: 295.6 kB / 1.344 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.281, allocations: 105.5 kB / 1.344 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.281, allocations: 50.75 kB / 1.344 GB, free: 14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.926e-06/1.281, allocations: 0 / 1.344 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.00218/1.283, allocations: 0.8766 MB / 1.345 GB, free: 13.67 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.283, allocations: 401.2 kB / 1.346 GB, free: 13.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.285, allocations: 1.239 MB / 1.347 GB, free: 13.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/1.285, allocations: 37.3 kB / 1.347 GB, free: 13.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/1.285, allocations: 0.5275 MB / 1.347 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/1.285, allocations: 130.7 kB / 1.348 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.285, allocations: 85.36 kB / 1.348 GB, free: 12.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.285, allocations: 325.2 kB / 1.348 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/1.286, allocations: 108.4 kB / 1.348 GB, free: 12.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/1.286, allocations: 338.2 kB / 1.348 GB, free: 12.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/1.287, allocations: 355.2 kB / 1.349 GB, free: 12.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.287, allocations: 0 / 1.349 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00118/1.288, allocations: 0.5768 MB / 1.349 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.288, allocations: 5.406 kB / 1.349 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/1.288, allocations: 2.5 kB / 1.349 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/1.288, allocations: 110.9 kB / 1.349 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/1.289, allocations: 103.5 kB / 1.349 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.29, allocations: 2.311 MB / 1.352 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/1.291, allocations: 99.48 kB / 1.352 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/1.291, allocations: 21.42 kB / 1.352 GB, free: 9.672 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005219/1.291, allocations: 320.4 kB / 1.352 GB, free: 9.586 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003088/1.292, allocations: 332 kB / 1.352 GB, free: 9.336 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004145/1.292, allocations: 336.4 kB / 1.353 GB, free: 9.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/1.292, allocations: 0 / 1.353 GB, free: 9.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008273/1.293, allocations: 0.4976 MB / 1.353 GB, free: 9.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.293, allocations: 8.594 kB / 1.353 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.293, allocations: 2.906 kB / 1.353 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/1.293, allocations: 77.88 kB / 1.353 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/1.294, allocations: 62.95 kB / 1.353 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.296, allocations: 3.27 MB / 1.357 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/1.297, allocations: 60.77 kB / 1.357 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/1.297, allocations: 20.89 kB / 1.357 GB, free: 6.055 MB / 1.014 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/1.297, allocations: 213.2 kB / 1.357 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/1.297, allocations: 145 kB / 1.357 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/1.298, allocations: 434.3 kB / 1.357 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.298, allocations: 4.906 kB / 1.357 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.298, allocations: 9.875 kB / 1.357 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.298, allocations: 10.59 kB / 1.357 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/1.301, allocations: 2.549 MB / 1.36 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.301, allocations: 5.875 kB / 1.36 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/1.302, allocations: 70.77 kB / 1.36 GB, free: 3.828 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/1.302, allocations: 80.5 kB / 1.36 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/1.302, allocations: 13.14 kB / 1.36 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/1.303, allocations: 2.303 MB / 1.362 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.303, allocations: 9 kB / 1.362 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/1.304, allocations: 0.7879 MB / 1.363 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/1.304, allocations: 255.7 kB / 1.363 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.304, allocations: 14.72 kB / 1.363 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/1.305, allocations: 41.81 kB / 1.363 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/1.305, allocations: 36.67 kB / 1.363 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/1.305, allocations: 24.52 kB / 1.363 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009928/1.306, allocations: 0.8597 MB / 1.364 GB, free: 404 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.306, allocations: 0 / 1.364 GB, free: 404 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001277/1.308, allocations: 451.4 kB / 1.365 GB, free: 348 kB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/1.308, allocations: 232.4 kB / 1.365 GB, free: 220 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001668/1.31, allocations: 0.7488 MB / 1.366 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.31, allocations: 4 kB / 1.366 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/1.31, allocations: 196.2 kB / 1.366 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.314, allocations: 0.7505 MB / 1.367 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/1.316, allocations: 1.852 MB / 1.368 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/1.317, allocations: 1.139 MB / 1.37 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008896/1.318, allocations: 288.8 kB / 1.37 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/1.318, allocations: 82.36 kB / 1.37 GB, free: 13.72 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.318, allocations: 4 kB / 1.37 GB, free: 13.72 MB / 1.029 GB Notification: Performance of Templates: time 0.03971/1.357, allocations: 24.45 MB / 1.394 GB, free: 3.566 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)