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.001477/0.001477, allocations: 99.31 kB / 16.26 MB, free: 6.418 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.001478/0.001478, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.363/1.363, 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.855/1.855, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001609/0.001609, allocations: 71.89 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2436, allocations: 114.6 MB / 0.784 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005488/0.2491, allocations: 3.259 MB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3864/0.6356, allocations: 1.863 MB / 0.789 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.6358, allocations: 7.375 kB / 0.789 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.6368, allocations: 287.4 kB / 0.7893 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.6372, allocations: 214.4 kB / 0.7895 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.6378, allocations: 286.9 kB / 0.7898 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.6382, allocations: 403.9 kB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.6385, allocations: 207.6 kB / 0.7904 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.6387, allocations: 164.1 kB / 0.7905 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.6391, allocations: 200.8 kB / 0.7907 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.6391, allocations: 25.34 kB / 0.7908 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.6395, allocations: 233.2 kB / 0.791 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.6396, allocations: 120.3 kB / 0.7911 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.6398, allocations: 145.8 kB / 0.7912 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.6402, allocations: 468.2 kB / 0.7917 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6402, allocations: 6.688 kB / 0.7917 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6402, allocations: 0 / 0.7917 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6403, allocations: 0 / 0.7917 GB, free: 45.95 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.001029/0.6413, allocations: 0.5895 MB / 0.7923 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6413, allocations: 7.406 kB / 0.7923 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.6421, allocations: 101.9 kB / 0.7924 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.6424, allocations: 269.8 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6424, allocations: 20.52 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.6425, allocations: 39.12 kB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.6431, allocations: 443.6 kB / 0.7931 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.6431, allocations: 3.562 kB / 0.7931 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.6432, allocations: 10.38 kB / 0.7931 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.6433, allocations: 44.14 kB / 0.7932 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.6438, allocations: 348.4 kB / 0.7935 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.6457, allocations: 2.208 MB / 0.7956 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.6461, allocations: 263.9 kB / 0.7959 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.6463, allocations: 159.9 kB / 0.796 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.6464, allocations: 7.344 kB / 0.7961 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6464, allocations: 40.28 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.6464, allocations: 3.938 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001625/0.648, allocations: 1.052 MB / 0.7971 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.6481, allocations: 54.66 kB / 0.7972 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.6483, allocations: 253.3 kB / 0.7974 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.6483, allocations: 29.11 kB / 0.7974 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.6484, allocations: 187.5 kB / 0.7976 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.6485, allocations: 82.38 kB / 0.7977 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.6486, allocations: 79.31 kB / 0.7978 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.6487, allocations: 333.8 kB / 0.7981 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.6489, allocations: 154.4 kB / 0.7982 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6491, allocations: 232.3 kB / 0.7985 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.6496, allocations: 406.5 kB / 0.7989 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6496, allocations: 0 / 0.7989 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009595/0.6505, allocations: 0.5933 MB / 0.7994 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.6506, allocations: 5.531 kB / 0.7994 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6506, allocations: 2.875 kB / 0.7994 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/0.6512, allocations: 189 kB / 0.7996 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.6515, allocations: 59.81 kB / 0.7997 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.6542, allocations: 2.495 MB / 0.8021 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.6545, allocations: 20.98 kB / 0.8021 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.6545, allocations: 11.92 kB / 0.8021 GB, free: 40.24 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.0001832/0.6547, allocations: 170.4 kB / 0.8023 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.6548, allocations: 29.33 kB / 0.8023 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.6553, allocations: 354.3 kB / 0.8027 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6553, allocations: 3.062 kB / 0.8027 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.6554, allocations: 2.469 kB / 0.8027 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6554, allocations: 1.312 kB / 0.8027 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6564, allocations: 0.8135 MB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6564, allocations: 1.438 kB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.6568, allocations: 73.14 kB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6568, allocations: 1.5 kB / 0.8035 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.6569, allocations: 8.797 kB / 0.8036 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6569, allocations: 2.219 kB / 0.8036 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6569, allocations: 1.281 kB / 0.8036 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.6577, allocations: 0.6224 MB / 0.8042 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6578, allocations: 128.4 kB / 0.8043 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.6579, allocations: 4.328 kB / 0.8043 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6581, allocations: 15.66 kB / 0.8043 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.6581, allocations: 20.34 kB / 0.8043 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6582, allocations: 6.141 kB / 0.8043 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000182/0.6584, allocations: 187.9 kB / 0.8045 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6584, allocations: 0 / 0.8045 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004494/0.6588, allocations: 85.41 kB / 0.8046 GB, free: 38.85 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.0001687/0.659, allocations: 108.5 kB / 0.8047 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.66, allocations: 0.5663 MB / 0.8052 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.66, allocations: 0.5625 kB / 0.8053 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6603, allocations: 149 kB / 0.8054 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.6608, allocations: 62.17 kB / 0.8055 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6624, allocations: 0.8775 MB / 0.8063 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.6627, allocations: 0.7951 MB / 0.8071 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.6628, allocations: 26.25 kB / 0.8071 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6628, allocations: 4 kB / 0.8071 GB, free: 37.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.01001/0.6729, allocations: 4.422 MB / 0.8114 GB, free: 36.94 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)