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.001413/0.001413, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001482/0.001482, allocations: 191 kB / 17.29 MB, free: 5.516 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.832/1.832, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001477/0.001477, allocations: 72.28 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2331, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.3775/0.6107, allocations: 4.049 MB / 0.7887 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.6129, allocations: 1.587 MB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.613, allocations: 11.25 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.6144, allocations: 0.587 MB / 0.7909 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.6149, allocations: 230.6 kB / 0.7911 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.6153, allocations: 211.9 kB / 0.7913 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.6158, allocations: 0.5469 MB / 0.7918 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.6163, allocations: 471.8 kB / 0.7923 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.6166, allocations: 233.3 kB / 0.7925 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.6169, allocations: 254.1 kB / 0.7927 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.617, allocations: 35.66 kB / 0.7928 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.6172, allocations: 166.3 kB / 0.7929 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.6174, allocations: 145.7 kB / 0.7931 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.6175, allocations: 203 kB / 0.7933 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.618, allocations: 0.5235 MB / 0.7938 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.618, allocations: 3.062 kB / 0.7938 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.618, allocations: 0.9062 kB / 0.7938 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.618, allocations: 3.938 kB / 0.7938 GB, free: 46.6 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.001073/0.6191, allocations: 0.6729 MB / 0.7944 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6191, allocations: 9.25 kB / 0.7944 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000704/0.6199, allocations: 112.7 kB / 0.7946 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.6202, allocations: 298.5 kB / 0.7948 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.6203, allocations: 57.75 kB / 0.7949 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.6203, allocations: 31.81 kB / 0.7949 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.621, allocations: 0.5046 MB / 0.7954 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.621, allocations: 2.062 kB / 0.7954 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.6211, allocations: 18.27 kB / 0.7954 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.6211, allocations: 30.64 kB / 0.7955 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.6218, allocations: 385.1 kB / 0.7958 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.6241, allocations: 2.192 MB / 0.798 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.6248, allocations: 264.8 kB / 0.7982 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.6252, allocations: 148.3 kB / 0.7984 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.6253, allocations: 2.969 kB / 0.7984 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6253, allocations: 42.92 kB / 0.7984 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/0.6253, allocations: 0 / 0.7984 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001573/0.6269, allocations: 0.571 MB / 0.799 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.627, allocations: 54 kB / 0.799 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.6272, allocations: 222.8 kB / 0.7992 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6273, allocations: 32.27 kB / 0.7993 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.6274, allocations: 206.8 kB / 0.7995 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.6274, allocations: 73.61 kB / 0.7995 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.6275, allocations: 56.56 kB / 0.7996 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.6276, allocations: 328.9 kB / 0.7999 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6279, allocations: 100.3 kB / 0.8 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.6282, allocations: 183.2 kB / 0.8002 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.6287, allocations: 269.7 kB / 0.8004 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6287, allocations: 5.312 kB / 0.8004 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009652/0.6296, allocations: 381.7 kB / 0.8008 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6297, allocations: 9.812 kB / 0.8008 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.6297, allocations: 3 kB / 0.8008 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.6302, allocations: 108.2 kB / 0.8009 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.6305, allocations: 48.94 kB / 0.801 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.6332, allocations: 3.046 MB / 0.8039 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.6335, allocations: 36.23 kB / 0.804 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.6335, allocations: 12.12 kB / 0.804 GB, free: 39.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003538/0.6339, allocations: 223.1 kB / 0.8042 GB, free: 39.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000259/0.6341, allocations: 178.2 kB / 0.8044 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004338/0.6346, allocations: 269 kB / 0.8046 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.6346, allocations: 3.5 kB / 0.8046 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007964/0.6354, allocations: 344.2 kB / 0.8049 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6354, allocations: 12.62 kB / 0.805 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.6354, allocations: 2.672 kB / 0.805 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.6358, allocations: 79.42 kB / 0.805 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.636, allocations: 61.44 kB / 0.8051 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.6377, allocations: 1.609 MB / 0.8067 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.638, allocations: 27.81 kB / 0.8067 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.6381, allocations: 20.97 kB / 0.8067 GB, free: 37.26 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.0001016/0.6382, allocations: 197.6 kB / 0.8069 GB, free: 37.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.6382, allocations: 23.86 kB / 0.8069 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.6383, allocations: 25.89 kB / 0.8069 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6383, allocations: 2.562 kB / 0.807 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6383, allocations: 5.344 kB / 0.807 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6383, allocations: 5.766 kB / 0.807 GB, free: 37.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.6397, allocations: 0.8265 MB / 0.8078 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6397, allocations: 1.094 kB / 0.8078 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.6399, allocations: 38.06 kB / 0.8078 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.6403, allocations: 102.3 kB / 0.8079 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6404, allocations: 3.516 kB / 0.8079 GB, free: 36.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.6428, allocations: 3.03 MB / 0.8109 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6428, allocations: 1.938 kB / 0.8109 GB, free: 33.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.6437, allocations: 418 kB / 0.8113 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.6438, allocations: 124.2 kB / 0.8114 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.6438, allocations: 7.188 kB / 0.8114 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.644, allocations: 7.516 kB / 0.8114 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.6441, allocations: 18.58 kB / 0.8114 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.6441, allocations: 9.562 kB / 0.8114 GB, free: 33.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001555/0.6443, allocations: 163.6 kB / 0.8116 GB, free: 33.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6443, allocations: 4 kB / 0.8116 GB, free: 33.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007/0.645, allocations: 164.7 kB / 0.8117 GB, free: 33.04 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.0001031/0.6451, allocations: 105.9 kB / 0.8118 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.647, allocations: 0.7755 MB / 0.8126 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.647, allocations: 0.8125 kB / 0.8126 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.6478, allocations: 369 kB / 0.813 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.6483, allocations: 58.36 kB / 0.813 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.6492, allocations: 0.5715 MB / 0.8136 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.6495, allocations: 0.8171 MB / 0.8144 GB, free: 31.15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.6497, allocations: 56.05 kB / 0.8144 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.6498, allocations: 19.97 kB / 0.8144 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.6498, allocations: 0 / 0.8144 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.009937/0.6597, allocations: 4.679 MB / 0.819 GB, free: 30.91 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)