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.0009467/0.0009467, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.5777/0.5777, allocations: 95.58 MB / 366 MB, free: 10.4 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.00054/0.0005401, allocations: 12 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2893, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit): time 0.4145/0.7038, allocations: 156.9 MB / 0.6582 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.7144, allocations: 6.901 MB / 0.6649 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.7166, allocations: 71.19 kB / 0.665 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.719, allocations: 0.703 MB / 0.6657 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.7252, allocations: 1.732 MB / 0.6674 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.7299, allocations: 1.709 MB / 0.669 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.734, allocations: 2.235 MB / 0.6712 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.7352, allocations: 0.8736 MB / 0.6721 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.7376, allocations: 1.216 MB / 0.6733 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.7387, allocations: 0.7701 MB / 0.674 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.7388, allocations: 51.5 kB / 0.6741 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.7404, allocations: 0.7284 MB / 0.6748 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.7407, allocations: 275.6 kB / 0.675 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.7411, allocations: 315.5 kB / 0.6753 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.7424, allocations: 1.432 MB / 0.6767 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.7424, allocations: 0 / 0.6767 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7424, allocations: 2.875 kB / 0.6768 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.7424, allocations: 0 / 0.6768 GB, free: 16.42 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.002066/0.7445, allocations: 1.561 MB / 0.6783 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7446, allocations: 12.08 kB / 0.6783 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.7452, allocations: 200.1 kB / 0.6785 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.7466, allocations: 0.8756 MB / 0.6793 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7467, allocations: 126.4 kB / 0.6795 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.7468, allocations: 91.66 kB / 0.6795 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.7486, allocations: 1.066 MB / 0.6806 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.7486, allocations: 14 kB / 0.6806 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.7487, allocations: 38.5 kB / 0.6806 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.7488, allocations: 24.81 kB / 0.6807 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.7501, allocations: 0.69 MB / 0.6813 GB, free: 14.48 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.004984/0.7551, allocations: 4.561 MB / 0.6858 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.756, allocations: 435.9 kB / 0.6862 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.7564, allocations: 0.4975 MB / 0.6867 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.7564, allocations: 46.3 kB / 0.6867 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.7564, allocations: 0 / 0.6867 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.002219/0.7587, allocations: 0.9458 MB / 0.6877 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7588, allocations: 263.3 kB / 0.6879 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.76, allocations: 1.266 MB / 0.6891 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.7601, allocations: 37.52 kB / 0.6892 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.7605, allocations: 0.6464 MB / 0.6898 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7606, allocations: 166.9 kB / 0.69 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.7606, allocations: 12.59 kB / 0.69 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7608, allocations: 329 kB / 0.6903 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.761, allocations: 154.2 kB / 0.6904 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.7615, allocations: 422.2 kB / 0.6908 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.7618, allocations: 222.1 kB / 0.6911 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7618, allocations: 3.094 kB / 0.6911 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009954/0.7628, allocations: 0.7263 MB / 0.6918 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.7638, allocations: 3.062 MB / 0.6948 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7638, allocations: 7.906 kB / 0.6948 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/0.7648, allocations: 166.8 kB / 0.6949 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7661, allocations: 266.9 kB / 0.6952 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.7674, allocations: 2.301 MB / 0.6974 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.7682, allocations: 130.9 kB / 0.6975 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.7683, allocations: 36.48 kB / 0.6976 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7683, allocations: 5.188 kB / 0.6976 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.7694, allocations: 0.7307 MB / 0.6983 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7694, allocations: 9.406 kB / 0.6983 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/0.7695, allocations: 72.61 kB / 0.6984 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008208/0.7703, allocations: 196.9 kB / 0.6986 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.7725, allocations: 2.952 MB / 0.7015 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.7732, allocations: 120.1 kB / 0.7016 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.7733, allocations: 32.95 kB / 0.7016 GB, free: 14.98 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.7738, allocations: 341.8 kB / 0.7019 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.7741, allocations: 152.2 kB / 0.7021 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.7752, allocations: 0.6636 MB / 0.7027 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.7753, allocations: 9.703 kB / 0.7027 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7753, allocations: 0 / 0.7027 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.7753, allocations: 4 kB / 0.7027 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7778, allocations: 1.721 MB / 0.7044 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7778, allocations: 0 / 0.7044 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.7791, allocations: 238.1 kB / 0.7046 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005165/0.7797, allocations: 112.3 kB / 0.7047 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.7797, allocations: 16.72 kB / 0.7048 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.7817, allocations: 3.661 MB / 0.7083 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7817, allocations: 7.109 kB / 0.7083 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7828, allocations: 0.8931 MB / 0.7092 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.7831, allocations: 228.3 kB / 0.7094 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.7833, allocations: 12.45 kB / 0.7094 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.7842, allocations: 62.64 kB / 0.7095 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.7843, allocations: 35.27 kB / 0.7095 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.7843, allocations: 30.94 kB / 0.7096 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001031/0.7854, allocations: 0.8454 MB / 0.7104 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7854, allocations: 0 / 0.7104 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001824/0.7872, allocations: 0.6128 MB / 0.711 GB, free: 8.535 MB / 0.5137 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 (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008021/0.788, allocations: 361.2 kB / 0.7113 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.7904, allocations: 1.027 MB / 0.7123 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.7905, allocations: 7.844 kB / 0.7123 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.7917, allocations: 413.8 kB / 0.7127 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.795, allocations: 0.678 MB / 0.7134 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.7981, allocations: 2.175 MB / 0.7155 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.7989, allocations: 1.161 MB / 0.7167 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001324/0.8003, allocations: 284.9 kB / 0.7169 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.8005, allocations: 95.42 kB / 0.717 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.8005, allocations: 0 / 0.717 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.03889/0.8394, allocations: 23.9 MB / 0.7404 GB, free: 12.73 MB / 0.545 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: