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.001454/0.001454, allocations: 105.7 kB / 16.29 MB, free: 6.43 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.001611/0.001611, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.598/1.598, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.875/1.875, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001447/0.001447, allocations: 74.5 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2777, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.5247/0.8024, allocations: 4.056 MB / 0.788 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.8052, allocations: 1.588 MB / 0.7896 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.8054, allocations: 11.31 kB / 0.7896 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.8067, allocations: 0.5821 MB / 0.7902 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.8072, allocations: 236.8 kB / 0.7904 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.8078, allocations: 211.5 kB / 0.7906 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.8083, allocations: 0.5467 MB / 0.7911 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.8088, allocations: 473.8 kB / 0.7916 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.8091, allocations: 232 kB / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.8094, allocations: 251.5 kB / 0.792 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.8095, allocations: 34.94 kB / 0.7921 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.8098, allocations: 162.4 kB / 0.7922 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.8099, allocations: 154.5 kB / 0.7924 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.8101, allocations: 190.5 kB / 0.7926 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.8106, allocations: 0.5299 MB / 0.7931 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8106, allocations: 4.5 kB / 0.7931 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.11e-07/0.8107, allocations: 0 / 0.7931 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8107, allocations: 0.9375 kB / 0.7931 GB, free: 45.94 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.001026/0.8117, allocations: 0.6806 MB / 0.7937 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.8117, allocations: 7.469 kB / 0.7937 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006639/0.8124, allocations: 114.1 kB / 0.7939 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.8127, allocations: 294.5 kB / 0.7941 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.8128, allocations: 51.95 kB / 0.7942 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.8129, allocations: 36.5 kB / 0.7942 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.8136, allocations: 0.5023 MB / 0.7947 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8136, allocations: 0.5625 kB / 0.7947 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.8137, allocations: 18.81 kB / 0.7947 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.8137, allocations: 34.94 kB / 0.7948 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.8143, allocations: 380.4 kB / 0.7951 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.8164, allocations: 2.203 MB / 0.7973 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.817, allocations: 258.6 kB / 0.7975 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.8173, allocations: 151.5 kB / 0.7977 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.8174, allocations: 6.375 kB / 0.7977 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.8174, allocations: 33.12 kB / 0.7977 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 2.956e-06/0.8174, allocations: 0 / 0.7977 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001323/0.8187, allocations: 0.5686 MB / 0.7983 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.8188, allocations: 56.03 kB / 0.7983 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.819, allocations: 231.3 kB / 0.7985 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.819, allocations: 29.58 kB / 0.7986 GB, free: 43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.8191, allocations: 205.8 kB / 0.7988 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.8192, allocations: 71.53 kB / 0.7988 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.8193, allocations: 51 kB / 0.7989 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.8194, allocations: 331.4 kB / 0.7992 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.8196, allocations: 101.5 kB / 0.7993 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.8199, allocations: 181.4 kB / 0.7995 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.8203, allocations: 271.8 kB / 0.7997 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8203, allocations: 2.562 kB / 0.7997 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008743/0.8212, allocations: 380.4 kB / 0.8001 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.8213, allocations: 8.375 kB / 0.8001 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.8213, allocations: 3.562 kB / 0.8001 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.8218, allocations: 111 kB / 0.8002 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.822, allocations: 50.86 kB / 0.8003 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.8246, allocations: 3.044 MB / 0.8032 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.8249, allocations: 40.7 kB / 0.8033 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.8249, allocations: 12.55 kB / 0.8033 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003695/0.8253, allocations: 221.9 kB / 0.8035 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002664/0.8256, allocations: 184 kB / 0.8037 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004266/0.826, allocations: 268.4 kB / 0.8039 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.826, allocations: 1.469 kB / 0.8039 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008125/0.8269, allocations: 350.3 kB / 0.8043 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8269, allocations: 12.36 kB / 0.8043 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8269, allocations: 3.875 kB / 0.8043 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.8272, allocations: 81.67 kB / 0.8043 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.8275, allocations: 52.62 kB / 0.8044 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.8293, allocations: 1.613 MB / 0.806 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.8296, allocations: 27.12 kB / 0.806 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.8296, allocations: 19.14 kB / 0.806 GB, free: 37.18 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.0001281/0.8297, allocations: 205.7 kB / 0.8062 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.8298, allocations: 23 kB / 0.8062 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.8299, allocations: 30.02 kB / 0.8063 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8299, allocations: 2.625 kB / 0.8063 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8299, allocations: 0 / 0.8063 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.8299, allocations: 6.469 kB / 0.8063 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.8315, allocations: 0.8195 MB / 0.8071 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8315, allocations: 0.5625 kB / 0.8071 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.8316, allocations: 32.59 kB / 0.8071 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.8321, allocations: 103.2 kB / 0.8072 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.8321, allocations: 10.48 kB / 0.8072 GB, free: 36.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.8347, allocations: 3.024 MB / 0.8102 GB, free: 33.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8348, allocations: 1.406 kB / 0.8102 GB, free: 33.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.8356, allocations: 417.2 kB / 0.8106 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.8358, allocations: 120.2 kB / 0.8107 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.8358, allocations: 12.33 kB / 0.8107 GB, free: 33.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.836, allocations: 13.17 kB / 0.8107 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8361, allocations: 18.64 kB / 0.8107 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.8361, allocations: 5.234 kB / 0.8107 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001864/0.8363, allocations: 161.9 kB / 0.8109 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8363, allocations: 4.688 kB / 0.8109 GB, free: 33.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007627/0.8371, allocations: 165 kB / 0.811 GB, free: 32.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001572/0.8373, allocations: 114.2 kB / 0.8112 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.8392, allocations: 0.7612 MB / 0.8119 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8392, allocations: 0.5938 kB / 0.8119 GB, free: 32.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.84, allocations: 377.6 kB / 0.8123 GB, free: 32.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.8404, allocations: 61.34 kB / 0.8123 GB, free: 32.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.8416, allocations: 0.5653 MB / 0.8129 GB, free: 31.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.8419, allocations: 0.8127 MB / 0.8137 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.8422, allocations: 55.67 kB / 0.8137 GB, free: 31.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.8422, allocations: 19.47 kB / 0.8137 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.8422, allocations: 0 / 0.8137 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.01128/0.8535, allocations: 4.665 MB / 0.8183 GB, free: 30.89 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)