Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00133/0.00133, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.00127/0.00127, allocations: 187 kB / 17.34 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.791, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02639/0.8174, allocations: 22.65 MB / 1.111 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03017/0.8476, allocations: 17.63 MB / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/0.8523, allocations: 115.2 kB / 1.128 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.8639, allocations: 4.164 MB / 1.132 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.8769, allocations: 3.519 MB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.8819, allocations: 1.313 MB / 1.137 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.8937, allocations: 5.792 MB / 1.143 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006431/0.9002, allocations: 3.587 MB / 1.146 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006083/0.9063, allocations: 2.472 MB / 1.148 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006464/0.9128, allocations: 2.45 MB / 1.151 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.9143, allocations: 369.1 kB / 1.151 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.9186, allocations: 1.038 MB / 1.152 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.9209, allocations: 1.197 MB / 1.153 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004393/0.9253, allocations: 1.996 MB / 1.155 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.9349, allocations: 5.182 MB / 1.16 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9349, allocations: 0 / 1.16 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9349, allocations: 5.188 kB / 1.16 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001614/0.9351, allocations: 0 / 1.16 GB, free: 9.086 MB / 0.9044 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.01349/0.9486, allocations: 4.61 MB / 1.165 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.9487, allocations: 9.375 kB / 1.165 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.9649, allocations: 3.264 MB / 1.168 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.971, allocations: 2.228 MB / 1.17 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006765/0.9717, allocations: 466.7 kB / 1.171 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009398/0.9726, allocations: 235.7 kB / 1.171 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.9845, allocations: 4.813 MB / 1.176 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.733e-05/0.9846, allocations: 1.094 kB / 1.176 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004476/0.9851, allocations: 105.9 kB / 1.176 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.9853, allocations: 173 kB / 1.176 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.9994, allocations: 5.193 MB / 1.181 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/1.027, allocations: 14.4 MB / 1.195 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009821/1.036, allocations: 3.386 MB / 1.198 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003618/1.04, allocations: 1.475 MB / 1.2 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/1.04, allocations: 21.22 kB / 1.2 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/1.044, allocations: 1.794 MB / 1.202 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.118e-06/1.044, allocations: 0 / 1.202 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1204/1.165, allocations: 28.23 MB / 1.229 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/1.165, allocations: 0.4928 MB / 1.23 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/1.168, allocations: 2.3 MB / 1.232 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/1.169, allocations: 77.7 kB / 1.232 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.17, allocations: 1.434 MB / 1.233 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009679/1.171, allocations: 0.824 MB / 1.234 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008687/1.172, allocations: 412.5 kB / 1.235 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/1.172, allocations: 305.1 kB / 1.235 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/1.177, allocations: 1.925 MB / 1.237 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/1.182, allocations: 2.239 MB / 1.239 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009915/1.192, allocations: 4.157 MB / 1.243 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/1.192, allocations: 8 kB / 1.243 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01841/1.211, allocations: 6.535 MB / 1.249 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/1.211, allocations: 155.2 kB / 1.249 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.211, allocations: 8 kB / 1.249 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/1.221, allocations: 2.926 MB / 1.252 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/1.224, allocations: 491.2 kB / 1.253 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0402/1.264, allocations: 18.83 MB / 1.271 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/1.269, allocations: 315.6 kB / 1.271 GB, free: 188 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005598/1.27, allocations: 91.97 kB / 1.272 GB, free: 96 kB / 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.001989/1.272, allocations: 0.7155 MB / 1.272 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/1.273, allocations: 328.1 kB / 1.273 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009007/1.273, allocations: 380.1 kB / 1.273 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/1.273, allocations: 24 kB / 1.273 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/1.273, allocations: 15.94 kB / 1.273 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.274, allocations: 11.95 kB / 1.273 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/1.28, allocations: 3.624 MB / 1.277 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.28, allocations: 7.984 kB / 1.277 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/1.282, allocations: 411.4 kB / 1.277 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01067/1.293, allocations: 2.868 MB / 1.28 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005462/1.294, allocations: 51.97 kB / 1.28 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0409/1.335, allocations: 18.61 MB / 1.298 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.335, allocations: 0 / 1.298 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/1.353, allocations: 6.181 MB / 1.304 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002578/1.356, allocations: 0.6922 MB / 1.305 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.357, allocations: 51.92 kB / 1.305 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004042/1.361, allocations: 311.6 kB / 1.305 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/1.363, allocations: 350.7 kB / 1.305 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000364/1.363, allocations: 71.97 kB / 1.305 GB, free: 12.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002921/1.366, allocations: 1.532 MB / 1.307 GB, free: 11.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.366, allocations: 7.938 kB / 1.307 GB, free: 11.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004219/1.37, allocations: 1.051 MB / 1.308 GB, free: 10.39 MB / 1.045 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.0004782/1.371, allocations: 163.6 kB / 1.308 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02276/1.394, allocations: 6.477 MB / 1.314 GB, free: 3.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.394, allocations: 0 / 1.314 GB, free: 3.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/1.411, allocations: 4.056 MB / 1.318 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/1.417, allocations: 1.141 MB / 1.32 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.433, allocations: 6.874 MB / 1.326 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/1.435, allocations: 2.227 MB / 1.328 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.437, allocations: 207.4 kB / 1.329 GB, free: 5.105 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.437, allocations: 3.938 kB / 1.329 GB, free: 5.102 MB / 1.061 GB Notification: Performance of Templates: time 0.1165/1.553, allocations: 80.22 MB / 1.407 GB, free: 5.203 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)