Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 112.5 kB / 16.42 MB, free: 6.504 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.002128/0.002128, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.72/1.72, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.44/3.44, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 72.11 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.008653/1.119, allocations: 4.108 MB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004288/1.123, allocations: 1.586 MB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/1.123, allocations: 8 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.125, allocations: 0.5914 MB / 1.215 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00084/1.126, allocations: 234.8 kB / 1.215 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/1.127, allocations: 219.2 kB / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001008/1.128, allocations: 0.5413 MB / 1.216 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/1.129, allocations: 471.6 kB / 1.216 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/1.13, allocations: 231.3 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/1.131, allocations: 243.1 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/1.131, allocations: 36 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/1.131, allocations: 167.7 kB / 1.217 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002438/1.131, allocations: 163.6 kB / 1.217 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003833/1.132, allocations: 183.1 kB / 1.217 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/1.133, allocations: 0.5296 MB / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.133, allocations: 0 / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.404e-06/1.133, allocations: 0 / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.473e-05/1.133, allocations: 0 / 1.217 GB, free: 4.484 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001905/1.135, allocations: 0.6826 MB / 1.218 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.135, allocations: 8.031 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.136, allocations: 100.5 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/1.137, allocations: 311.6 kB / 1.219 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.137, allocations: 55.25 kB / 1.219 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/1.137, allocations: 40.34 kB / 1.219 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.138, allocations: 0.5009 MB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.138, allocations: 11.94 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/1.138, allocations: 12 kB / 1.219 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/1.138, allocations: 28.98 kB / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/1.139, allocations: 383.7 kB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/1.143, allocations: 2.192 MB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.144, allocations: 258.7 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/1.144, allocations: 148.7 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/1.144, allocations: 8 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.144, allocations: 38.55 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/1.144, allocations: 0 / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.002055/1.147, allocations: 0.5694 MB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.147, allocations: 51.41 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/1.147, allocations: 225 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/1.147, allocations: 29.7 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/1.147, allocations: 223.6 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/1.147, allocations: 59.11 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.148, allocations: 53.61 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.148, allocations: 338.8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/1.148, allocations: 96.8 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/1.149, allocations: 176.3 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/1.149, allocations: 277.2 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.149, allocations: 4 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001268/1.151, allocations: 373.1 kB / 1.224 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.151, allocations: 8 kB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.151, allocations: 0 / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/1.151, allocations: 113.7 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/1.152, allocations: 51.91 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004848/1.157, allocations: 3.051 MB / 1.228 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/1.157, allocations: 39.8 kB / 1.228 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.157, allocations: 12 kB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005153/1.158, allocations: 228 kB / 1.228 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004077/1.158, allocations: 180 kB / 1.228 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006567/1.159, allocations: 275 kB / 1.228 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/1.159, allocations: 0 / 1.228 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001136/1.16, allocations: 341.9 kB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.16, allocations: 11.94 kB / 1.229 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.16, allocations: 4.312 kB / 1.229 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/1.16, allocations: 76.78 kB / 1.229 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.161, allocations: 59.91 kB / 1.229 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.164, allocations: 1.605 MB / 1.23 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/1.164, allocations: 39.78 kB / 1.23 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/1.164, allocations: 12 kB / 1.23 GB, free: 6.164 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002338/1.164, allocations: 200.1 kB / 1.231 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.165, allocations: 19.81 kB / 1.231 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/1.165, allocations: 26.19 kB / 1.231 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.165, allocations: 3.984 kB / 1.231 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.165, allocations: 4 kB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/1.165, allocations: 120.8 kB / 1.231 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/1.165, allocations: 7.875 kB / 1.231 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.165, allocations: 15.98 kB / 1.231 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.165, allocations: 23.92 kB / 1.231 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001054/1.166, allocations: 364.1 kB / 1.231 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009914/1.167, allocations: 496.6 kB / 1.232 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002868/1.168, allocations: 91.98 kB / 1.232 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002188/1.168, allocations: 164.5 kB / 1.232 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of Backend: time 6.81e-07/1.168, allocations: 4 kB / 1.232 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003269/1.171, allocations: 0.8424 MB / 1.233 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001937/1.173, allocations: 1.041 MB / 1.234 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of Templates: time 0.01834/1.192, allocations: 5.779 MB / 1.239 GB, free: 12.88 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)