Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006714/0.006714, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001332/0.001332, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.89 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02598/0.2388, allocations: 22.44 MB / 0.85 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.2675, allocations: 17.75 MB / 0.8673 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.2709, allocations: 107.4 kB / 0.8674 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.2822, allocations: 4.169 MB / 0.8715 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.2948, allocations: 3.578 MB / 0.875 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004784/0.2996, allocations: 1.312 MB / 0.8763 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.3114, allocations: 5.799 MB / 0.8819 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007226/0.3187, allocations: 3.588 MB / 0.8854 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/0.3244, allocations: 2.484 MB / 0.8878 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.3296, allocations: 2.44 MB / 0.8902 GB, free: 244 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001847/0.3315, allocations: 376 kB / 0.8906 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.3352, allocations: 1.033 MB / 0.8916 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.3373, allocations: 1.199 MB / 0.8928 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004673/0.342, allocations: 1.99 MB / 0.8947 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007808/0.3498, allocations: 5.182 MB / 0.8998 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3498, allocations: 0 / 0.8998 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3498, allocations: 0 / 0.8998 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001002/0.3499, allocations: 0 / 0.8998 GB, free: 6.434 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01016/0.3601, allocations: 4.612 MB / 0.9043 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3602, allocations: 12.03 kB / 0.9043 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5793/0.9394, allocations: 3.255 MB / 0.9075 GB, free: 70.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006849/0.9464, allocations: 2.23 MB / 0.9096 GB, free: 70.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/0.947, allocations: 468.2 kB / 0.9101 GB, free: 69.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.9482, allocations: 232.2 kB / 0.9103 GB, free: 69.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.9641, allocations: 4.814 MB / 0.915 GB, free: 68.36 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.9642, allocations: 9.656 kB / 0.915 GB, free: 68.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004731/0.9647, allocations: 103.5 kB / 0.9151 GB, free: 68.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004125/0.9651, allocations: 174.6 kB / 0.9153 GB, free: 68.26 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.9829, allocations: 5.191 MB / 0.9204 GB, free: 66.76 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/1.015, allocations: 14.39 MB / 0.9344 GB, free: 56.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.027, allocations: 3.384 MB / 0.9377 GB, free: 55.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0044/1.032, allocations: 1.465 MB / 0.9392 GB, free: 54.42 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/1.032, allocations: 30.41 kB / 0.9392 GB, free: 54.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005163/1.037, allocations: 1.793 MB / 0.9409 GB, free: 53.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 1.337e-05/1.037, allocations: 0 / 0.9409 GB, free: 53.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.1287/1.166, allocations: 28.23 MB / 0.9685 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.166, allocations: 0.4928 MB / 0.969 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.17, allocations: 2.296 MB / 0.9712 GB, free: 30.62 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000688/1.171, allocations: 77.69 kB / 0.9713 GB, free: 30.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.172, allocations: 1.438 MB / 0.9727 GB, free: 29.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.173, allocations: 0.8183 MB / 0.9735 GB, free: 28.28 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/1.174, allocations: 420.4 kB / 0.9739 GB, free: 27.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.174, allocations: 309.1 kB / 0.9742 GB, free: 27.56 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.179, allocations: 1.925 MB / 0.9761 GB, free: 25.63 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/1.184, allocations: 2.233 MB / 0.9783 GB, free: 23.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009495/1.194, allocations: 4.161 MB / 0.9823 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.194, allocations: 0 / 0.9823 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01743/1.211, allocations: 6.537 MB / 0.9887 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.212, allocations: 148.5 kB / 0.9888 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.212, allocations: 4.344 kB / 0.9889 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009363/1.221, allocations: 2.935 MB / 0.9917 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/1.224, allocations: 491.2 kB / 0.9922 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0429/1.267, allocations: 18.83 MB / 1.011 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/1.272, allocations: 323.6 kB / 1.011 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009433/1.273, allocations: 87.97 kB / 1.011 GB, free: 5.348 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.003258/1.276, allocations: 0.7066 MB / 1.012 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.278, allocations: 332.1 kB / 1.012 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/1.28, allocations: 380.1 kB / 1.012 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.28, allocations: 27.94 kB / 1.012 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.793e-05/1.28, allocations: 8 kB / 1.012 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/1.28, allocations: 11.95 kB / 1.012 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008292/1.288, allocations: 3.63 MB / 1.016 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.85e-05/1.288, allocations: 7.188 kB / 1.016 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.291, allocations: 419.3 kB / 1.016 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/1.302, allocations: 2.872 MB / 1.019 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006622/1.302, allocations: 51.97 kB / 1.019 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04638/1.349, allocations: 18.6 MB / 1.037 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.349, allocations: 4 kB / 1.037 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.37, allocations: 6.173 MB / 1.043 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.372, allocations: 0.7 MB / 1.044 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.373, allocations: 51.19 kB / 1.044 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004123/1.378, allocations: 315.5 kB / 1.044 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/1.379, allocations: 358.7 kB / 1.045 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/1.379, allocations: 68.84 kB / 1.045 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003483/1.383, allocations: 1.536 MB / 1.046 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.41e-07/1.383, allocations: 0 / 1.046 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004571/1.388, allocations: 1.047 MB / 1.047 GB, free: 15.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006091/1.388, allocations: 164.1 kB / 1.048 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02468/1.413, allocations: 6.476 MB / 1.054 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.413, allocations: 0.75 kB / 1.054 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01893/1.432, allocations: 4.059 MB / 1.058 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007745/1.44, allocations: 1.139 MB / 1.059 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.459, allocations: 6.702 MB / 1.065 GB, free: 13.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/1.463, allocations: 2.227 MB / 1.068 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003307/1.466, allocations: 0.5099 MB / 1.068 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.467, allocations: 183.4 kB / 1.068 GB, free: 10.15 MB / 0.795 GB Notification: Performance of SimCode: time 6.52e-07/1.467, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.795 GB Notification: Performance of Templates: time 0.1432/1.61, allocations: 75.67 MB / 1.142 GB, free: 15.45 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)