Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009683, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006834/0.006834, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6736/0.6736, allocations: 95.62 MB / 366.4 MB, free: 10.25 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005637/0.0005637, allocations: 12 kB / 447.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.426, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit): time 0.6586/1.085, allocations: 181 MB / 0.6824 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01471/1.099, allocations: 7.874 MB / 0.6901 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/1.103, allocations: 72.88 kB / 0.6902 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/1.107, allocations: 0.7224 MB / 0.6909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007108/1.114, allocations: 1.535 MB / 0.6924 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006227/1.12, allocations: 1.867 MB / 0.6942 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007932/1.128, allocations: 5.14 MB / 0.6992 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/1.131, allocations: 0.9096 MB / 0.7001 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/1.135, allocations: 1.301 MB / 0.7014 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/1.138, allocations: 1.178 MB / 0.7026 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005087/1.138, allocations: 52 kB / 0.7026 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/1.142, allocations: 0.8725 MB / 0.7035 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/1.143, allocations: 300.7 kB / 0.7037 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/1.146, allocations: 0.747 MB / 0.7045 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00551/1.151, allocations: 1.943 MB / 0.7064 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.151, allocations: 6.844 kB / 0.7064 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/1.151, allocations: 0 / 0.7064 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.215e-05/1.151, allocations: 0 / 0.7064 GB, free: 10.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004492/1.156, allocations: 1.547 MB / 0.7079 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.78e-05/1.156, allocations: 11.89 kB / 0.7079 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/1.157, allocations: 203.7 kB / 0.7081 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/1.16, allocations: 0.9246 MB / 0.709 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.16, allocations: 132.9 kB / 0.7091 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/1.161, allocations: 86.34 kB / 0.7092 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/1.163, allocations: 1.085 MB / 0.7103 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/1.163, allocations: 6.469 kB / 0.7103 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/1.164, allocations: 42.16 kB / 0.7103 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/1.164, allocations: 25.39 kB / 0.7103 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.165, allocations: 0.6949 MB / 0.711 GB, free: 7.32 MB / 0.4981 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.007738/1.173, allocations: 4.556 MB / 0.7155 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.174, allocations: 442.9 kB / 0.7159 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/1.175, allocations: 206.1 kB / 0.7161 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/1.175, allocations: 0.4974 MB / 0.7166 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.175, allocations: 46.73 kB / 0.7166 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.194e-06/1.175, allocations: 0 / 0.7166 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.002747/1.178, allocations: 0.9585 MB / 0.7176 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/1.178, allocations: 267.8 kB / 0.7178 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.18, allocations: 1.273 MB / 0.7191 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.18, allocations: 41.7 kB / 0.7191 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/1.181, allocations: 0.6431 MB / 0.7197 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/1.181, allocations: 172.2 kB / 0.7199 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/1.181, allocations: 53.7 kB / 0.7199 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.181, allocations: 326 kB / 0.7202 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/1.182, allocations: 155.7 kB / 0.7204 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/1.182, allocations: 436.3 kB / 0.7208 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009775/1.183, allocations: 0.5933 MB / 0.7214 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.183, allocations: 4 kB / 0.7214 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001648/1.185, allocations: 0.7432 MB / 0.7221 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003443/1.185, allocations: 319.8 kB / 0.7224 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.185, allocations: 8 kB / 0.7224 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.186, allocations: 169.5 kB / 0.7226 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.188, allocations: 270 kB / 0.7229 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/1.19, allocations: 2.295 MB / 0.7251 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.191, allocations: 131 kB / 0.7252 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/1.191, allocations: 32 kB / 0.7252 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.191, allocations: 4 kB / 0.7253 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001393/1.192, allocations: 0.7362 MB / 0.726 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.192, allocations: 8 kB / 0.726 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/1.193, allocations: 80.23 kB / 0.7261 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/1.193, allocations: 195.8 kB / 0.7262 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/1.196, allocations: 2.95 MB / 0.7291 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.197, allocations: 111.3 kB / 0.7292 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.852e-05/1.197, allocations: 39.98 kB / 0.7293 GB, free: 4.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (69): * Single equations (assignments): 65 * 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.0007723/1.198, allocations: 348.5 kB / 0.7296 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/1.198, allocations: 152.8 kB / 0.7297 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/1.2, allocations: 0.6637 MB / 0.7304 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.2, allocations: 8 kB / 0.7304 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.2, allocations: 0 / 0.7304 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.2, allocations: 4 kB / 0.7304 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.203, allocations: 1.721 MB / 0.7321 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.203, allocations: 0 / 0.7321 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.204, allocations: 237 kB / 0.7323 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/1.204, allocations: 109.5 kB / 0.7324 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/1.205, allocations: 12 kB / 0.7324 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/1.207, allocations: 3.667 MB / 0.736 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.207, allocations: 0 / 0.736 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/1.208, allocations: 0.8116 MB / 0.7368 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/1.209, allocations: 227.2 kB / 0.737 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/1.209, allocations: 12 kB / 0.737 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/1.21, allocations: 63.8 kB / 0.7371 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.21, allocations: 38.33 kB / 0.7371 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/1.21, allocations: 35.97 kB / 0.7372 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001337/1.211, allocations: 0.8556 MB / 0.738 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.211, allocations: 0 / 0.738 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002259/1.214, allocations: 0.6008 MB / 0.7386 GB, free: 10.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (41): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.215, allocations: 393.6 kB / 0.739 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002667/1.217, allocations: 1.034 MB / 0.74 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.217, allocations: 4.438 kB / 0.74 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.219, allocations: 413.3 kB / 0.7404 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.223, allocations: 0.6793 MB / 0.741 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/1.226, allocations: 2.323 MB / 0.7433 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/1.227, allocations: 1.133 MB / 0.7444 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001379/1.229, allocations: 289.1 kB / 0.7447 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.229, allocations: 91.42 kB / 0.7448 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/1.229, allocations: 0 / 0.7448 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.04826/1.277, allocations: 24.69 MB / 0.7689 GB, free: 11.78 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe 2>&1) Environment - environmentSimulation: