Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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.0009198/0.0009199, allocations: 98.88 kB / 16.02 MB, free: 76 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.001146/0.001146, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003383, allocations: 9.75 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3138, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03182/0.3457, allocations: 21.71 MB / 1.081 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03306/0.3788, allocations: 17.38 MB / 1.097 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004388/0.3832, allocations: 103.4 kB / 1.098 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.3866, allocations: 0.5775 MB / 1.098 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3978, allocations: 3.213 MB / 1.101 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.4016, allocations: 1.186 MB / 1.102 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009815/0.4114, allocations: 7.048 MB / 1.109 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004942/0.4164, allocations: 2.554 MB / 1.112 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.4206, allocations: 2.042 MB / 1.114 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.4252, allocations: 2.288 MB / 1.116 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.4264, allocations: 176 kB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.4294, allocations: 1.057 MB / 1.117 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.431, allocations: 0.9729 MB / 1.118 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.4345, allocations: 1.785 MB / 1.12 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.4398, allocations: 3.95 MB / 1.124 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4398, allocations: 0 / 1.124 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4398, allocations: 0 / 1.124 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001831/0.44, allocations: 4 kB / 1.124 GB, free: 2.668 MB / 0.8731 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.01005/0.4501, allocations: 4.064 MB / 1.128 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4501, allocations: 8.031 kB / 1.128 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.4678, allocations: 3.371 MB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.4727, allocations: 2.076 MB / 1.133 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005151/0.4733, allocations: 474.3 kB / 1.134 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009843/0.4743, allocations: 231.9 kB / 1.134 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.4878, allocations: 4.88 MB / 1.139 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.4879, allocations: 0 / 1.139 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006537/0.4885, allocations: 108 kB / 1.139 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.4888, allocations: 172.8 kB / 1.139 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.5055, allocations: 5.323 MB / 1.144 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02491/0.5305, allocations: 14.6 MB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.5414, allocations: 3.667 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004291/0.5458, allocations: 1.596 MB / 1.163 GB, free: 8.512 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.546, allocations: 29.28 kB / 1.163 GB, free: 8.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004754/0.5508, allocations: 1.917 MB / 1.165 GB, free: 6.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 4.519e-06/0.5508, allocations: 0 / 1.165 GB, free: 6.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1452/0.6959, allocations: 34.13 MB / 1.199 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/0.6962, allocations: 0.4928 MB / 1.199 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.6999, allocations: 2.304 MB / 1.201 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004794/0.7004, allocations: 73.7 kB / 1.201 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.7017, allocations: 1.43 MB / 1.203 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7028, allocations: 0.8163 MB / 1.204 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.7033, allocations: 186.4 kB / 1.204 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7034, allocations: 305.1 kB / 1.204 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005927/0.7094, allocations: 2.12 MB / 1.206 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006195/0.7156, allocations: 2.419 MB / 1.209 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/0.7273, allocations: 4.536 MB / 1.213 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.7274, allocations: 4 kB / 1.213 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02043/0.7478, allocations: 6.914 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.748, allocations: 148.8 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.748, allocations: 8 kB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.7586, allocations: 2.93 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.762, allocations: 0.5657 MB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0395/0.8015, allocations: 17.38 MB / 1.24 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/0.8062, allocations: 415.6 kB / 1.241 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004282/0.8067, allocations: 87.97 kB / 1.241 GB, free: 8.266 MB / 0.9981 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.001759/0.8084, allocations: 0.7067 MB / 1.241 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007098/0.8092, allocations: 332.1 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.81, allocations: 392 kB / 1.242 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.8101, allocations: 24 kB / 1.242 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.563e-05/0.8101, allocations: 8 kB / 1.242 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.8101, allocations: 11.95 kB / 1.242 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.8152, allocations: 3.616 MB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.8152, allocations: 0 / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/0.818, allocations: 0.5071 MB / 1.246 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5875/1.406, allocations: 2.868 MB / 1.249 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005421/1.406, allocations: 53.89 kB / 1.249 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03811/1.444, allocations: 17.14 MB / 1.266 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.444, allocations: 0.5625 kB / 1.266 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/1.466, allocations: 6.551 MB / 1.272 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.468, allocations: 0.6977 MB / 1.273 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006889/1.468, allocations: 46.69 kB / 1.273 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/1.472, allocations: 411.8 kB / 1.273 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/1.474, allocations: 351.8 kB / 1.274 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/1.474, allocations: 73.8 kB / 1.274 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002479/1.477, allocations: 1.53 MB / 1.275 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.477, allocations: 7.734 kB / 1.275 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003396/1.48, allocations: 1.045 MB / 1.276 GB, free: 169.6 MB / 0.9981 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.0004541/1.48, allocations: 166.2 kB / 1.276 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02553/1.506, allocations: 6.836 MB / 1.283 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.506, allocations: 2.438 kB / 1.283 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01848/1.525, allocations: 4.225 MB / 1.287 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/1.53, allocations: 1.05 MB / 1.288 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.545, allocations: 8.318 MB / 1.296 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.547, allocations: 2.24 MB / 1.299 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.548, allocations: 190.9 kB / 1.299 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/1.548, allocations: 0 / 1.299 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08375/1.631, allocations: 79.52 MB / 1.376 GB, free: 86.31 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)