Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 101.9 kB / 16.35 MB, free: 5.895 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.001717/0.001717, allocations: 191.8 kB / 17.29 MB, free: 5.52 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.358/1.358, 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.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001518/0.001518, allocations: 71.59 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2326, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.4069/0.6395, allocations: 3.249 MB / 0.788 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002762/0.6423, allocations: 1.865 MB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.6425, allocations: 7.312 kB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.6433, allocations: 291.4 kB / 0.7901 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.6437, allocations: 205.4 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.6442, allocations: 292.5 kB / 0.7905 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.6446, allocations: 412.8 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.6449, allocations: 194.7 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.6451, allocations: 161 kB / 0.7913 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.6454, allocations: 205 kB / 0.7915 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.6454, allocations: 23.53 kB / 0.7915 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.6458, allocations: 236.4 kB / 0.7917 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.6459, allocations: 122.2 kB / 0.7918 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.646, allocations: 143 kB / 0.792 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.6464, allocations: 476.2 kB / 0.7924 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6464, allocations: 1.406 kB / 0.7924 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6464, allocations: 0 / 0.7924 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6465, allocations: 0 / 0.7924 GB, free: 46.49 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009682/0.6474, allocations: 0.6018 MB / 0.793 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6475, allocations: 6.969 kB / 0.793 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.6482, allocations: 95.17 kB / 0.7931 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.6485, allocations: 278.9 kB / 0.7934 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.6486, allocations: 17.09 kB / 0.7934 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6487, allocations: 33.73 kB / 0.7934 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.6492, allocations: 449.4 kB / 0.7938 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.6492, allocations: 1.266 kB / 0.7938 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.6493, allocations: 8.25 kB / 0.7939 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.6494, allocations: 38.75 kB / 0.7939 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.6499, allocations: 353.9 kB / 0.7942 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.6518, allocations: 2.199 MB / 0.7964 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.6522, allocations: 271.7 kB / 0.7966 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.6524, allocations: 159.5 kB / 0.7968 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.6524, allocations: 6.75 kB / 0.7968 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.6524, allocations: 37.12 kB / 0.7968 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.6525, allocations: 0 / 0.7968 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001598/0.6541, allocations: 1.051 MB / 0.7979 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.6541, allocations: 55 kB / 0.7979 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6543, allocations: 252 kB / 0.7982 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.6544, allocations: 39.69 kB / 0.7982 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.6545, allocations: 187.9 kB / 0.7984 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.6545, allocations: 86.7 kB / 0.7985 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.6546, allocations: 73.45 kB / 0.7985 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.6547, allocations: 336.3 kB / 0.7988 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.6549, allocations: 151.5 kB / 0.799 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.6552, allocations: 237.5 kB / 0.7992 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.6556, allocations: 399.5 kB / 0.7996 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6556, allocations: 2.344 kB / 0.7996 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/0.6566, allocations: 0.5947 MB / 0.8002 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6567, allocations: 5.75 kB / 0.8002 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6567, allocations: 3.344 kB / 0.8002 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.6574, allocations: 186.4 kB / 0.8004 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.6577, allocations: 64.67 kB / 0.8004 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.6605, allocations: 2.492 MB / 0.8029 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.6608, allocations: 16.38 kB / 0.8029 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.6609, allocations: 20.78 kB / 0.8029 GB, free: 40.59 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.661, allocations: 160.5 kB / 0.803 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.6611, allocations: 31.72 kB / 0.8031 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.6617, allocations: 354.6 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.6617, allocations: 3.25 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6617, allocations: 0.5625 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6617, allocations: 1.734 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.6628, allocations: 0.8114 MB / 0.8042 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6628, allocations: 3.062 kB / 0.8042 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.6632, allocations: 75.53 kB / 0.8043 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6633, allocations: 1.375 kB / 0.8043 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6633, allocations: 9.406 kB / 0.8043 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6633, allocations: 0.875 kB / 0.8043 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6633, allocations: 2.672 kB / 0.8043 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/0.6641, allocations: 0.6104 MB / 0.8049 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.6642, allocations: 133.2 kB / 0.805 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.6643, allocations: 8.406 kB / 0.805 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.6645, allocations: 14.55 kB / 0.805 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.6646, allocations: 15.81 kB / 0.8051 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.6646, allocations: 8.312 kB / 0.8051 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001989/0.6648, allocations: 181 kB / 0.8052 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6648, allocations: 1.312 kB / 0.8052 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004501/0.6653, allocations: 90.62 kB / 0.8053 GB, free: 39.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001703/0.6654, allocations: 111.6 kB / 0.8054 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.6666, allocations: 0.5294 MB / 0.806 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6666, allocations: 1.844 kB / 0.806 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.6668, allocations: 152.4 kB / 0.8061 GB, free: 38.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.6673, allocations: 62.84 kB / 0.8062 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.6688, allocations: 0.8274 MB / 0.807 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6691, allocations: 0.7957 MB / 0.8077 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.6693, allocations: 78.67 kB / 0.8078 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.6694, allocations: 23.78 kB / 0.8078 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6694, allocations: 0 / 0.8078 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.009545/0.6789, allocations: 3.974 MB / 0.8117 GB, free: 37.39 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)