Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001152/0.001152, allocations: 114.8 kB / 16.38 MB, free: 6.02 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.001117/0.001117, allocations: 186.8 kB / 17.31 MB, free: 5.617 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.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.001617/0.001617, allocations: 71.84 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2257, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.3953/0.621, allocations: 4.068 MB / 0.7888 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00256/0.6236, allocations: 1.584 MB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.624, allocations: 9.406 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.6255, allocations: 0.5883 MB / 0.7909 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.626, allocations: 237.3 kB / 0.7911 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.6266, allocations: 214.2 kB / 0.7913 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.6273, allocations: 0.5431 MB / 0.7919 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.6281, allocations: 471.2 kB / 0.7923 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.6284, allocations: 234.5 kB / 0.7925 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.6288, allocations: 250.2 kB / 0.7928 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.6289, allocations: 34.66 kB / 0.7928 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.6292, allocations: 166.8 kB / 0.793 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.6293, allocations: 148.7 kB / 0.7931 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.6295, allocations: 200.7 kB / 0.7933 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.63, allocations: 0.5299 MB / 0.7938 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.63, allocations: 2.812 kB / 0.7938 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.63, allocations: 0 / 0.7938 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.63, allocations: 0 / 0.7938 GB, free: 45.97 MB / 0.6544 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.001034/0.6311, allocations: 0.6746 MB / 0.7945 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6311, allocations: 15.84 kB / 0.7945 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/0.6318, allocations: 105.9 kB / 0.7946 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.6321, allocations: 298.9 kB / 0.7949 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.6322, allocations: 63.44 kB / 0.7949 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.6323, allocations: 30.75 kB / 0.795 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.633, allocations: 0.5065 MB / 0.7955 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.633, allocations: 3.984 kB / 0.7955 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.6331, allocations: 16.59 kB / 0.7955 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.6331, allocations: 28.64 kB / 0.7955 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.6337, allocations: 377.2 kB / 0.7959 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.6358, allocations: 2.209 MB / 0.798 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.6365, allocations: 257.2 kB / 0.7983 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.6369, allocations: 149.8 kB / 0.7984 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.6369, allocations: 2.656 kB / 0.7984 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.6369, allocations: 41.64 kB / 0.7985 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.6369, allocations: 0 / 0.7985 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001447/0.6384, allocations: 0.5707 MB / 0.799 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.6384, allocations: 54.12 kB / 0.7991 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.6387, allocations: 226 kB / 0.7993 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6387, allocations: 28.61 kB / 0.7993 GB, free: 43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6388, allocations: 216.1 kB / 0.7995 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.6389, allocations: 69.3 kB / 0.7996 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/0.639, allocations: 49.11 kB / 0.7996 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.6391, allocations: 330.3 kB / 0.7999 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.6393, allocations: 100 kB / 0.8 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.6395, allocations: 180.5 kB / 0.8002 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.64, allocations: 276.1 kB / 0.8005 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.64, allocations: 0 / 0.8005 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008623/0.6408, allocations: 386.1 kB / 0.8008 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6409, allocations: 5.281 kB / 0.8008 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6409, allocations: 1.25 kB / 0.8008 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.6414, allocations: 112.2 kB / 0.8009 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.6416, allocations: 42.41 kB / 0.801 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/0.6448, allocations: 3.043 MB / 0.804 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.6451, allocations: 43.5 kB / 0.804 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.6451, allocations: 8.531 kB / 0.804 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003541/0.6455, allocations: 222.4 kB / 0.8042 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002535/0.6457, allocations: 177.5 kB / 0.8044 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004674/0.6462, allocations: 275.7 kB / 0.8047 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.6462, allocations: 0 / 0.8047 GB, free: 38.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008182/0.647, allocations: 345.5 kB / 0.805 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6471, allocations: 10.98 kB / 0.805 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6471, allocations: 6.875 kB / 0.805 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.6474, allocations: 81.44 kB / 0.8051 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.6476, allocations: 60.16 kB / 0.8051 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.6495, allocations: 1.612 MB / 0.8067 GB, free: 37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.6498, allocations: 32.22 kB / 0.8067 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6498, allocations: 15.66 kB / 0.8068 GB, free: 36.98 MB / 0.6544 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.0001279/0.6499, allocations: 205.5 kB / 0.807 GB, free: 36.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.65, allocations: 22.41 kB / 0.807 GB, free: 36.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.6501, allocations: 27.11 kB / 0.807 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6501, allocations: 0.6562 kB / 0.807 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6501, allocations: 1.812 kB / 0.807 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6502, allocations: 119.2 kB / 0.8071 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.6502, allocations: 10.06 kB / 0.8071 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.6504, allocations: 7.406 kB / 0.8071 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6505, allocations: 19.86 kB / 0.8072 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009009/0.6515, allocations: 368.6 kB / 0.8075 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007484/0.6522, allocations: 493.2 kB / 0.808 GB, free: 36.15 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000231/0.6525, allocations: 90.48 kB / 0.8081 GB, free: 36.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001843/0.6526, allocations: 167 kB / 0.8082 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of Backend: time 4.6e-07/0.6527, allocations: 1.312 kB / 0.8082 GB, free: 36.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.6551, allocations: 0.8463 MB / 0.809 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001303/0.6564, allocations: 1.046 MB / 0.8101 GB, free: 34.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01359/0.67, allocations: 5.601 MB / 0.8155 GB, free: 34.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)