Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.33/2.33, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002192/0.002192, allocations: 178.7 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 96.67 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004789, allocations: 9.875 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2204, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00566/0.2261, allocations: 2.836 MB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004731/0.2309, allocations: 1.739 MB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.2312, allocations: 4 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.2316, allocations: 47.64 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007596/0.2323, allocations: 167.2 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.2333, allocations: 227.5 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006491/0.234, allocations: 478.5 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.2351, allocations: 443.5 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.2354, allocations: 131.5 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.2359, allocations: 191.4 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2359, allocations: 12 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.2364, allocations: 135.8 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.2365, allocations: 103.7 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.2366, allocations: 81.45 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.2372, allocations: 343.4 kB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2372, allocations: 0 / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2372, allocations: 3.938 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2372, allocations: 0 / 0.9058 GB, free: 58.45 MB / 0.6042 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.00127/0.2385, allocations: 0.5381 MB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2385, allocations: 12.03 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.2397, allocations: 88.55 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.2402, allocations: 272.5 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.2402, allocations: 16.94 kB / 0.9067 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2404, allocations: 40.28 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.2413, allocations: 441.1 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2413, allocations: 3.938 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.2414, allocations: 16 kB / 0.9072 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.2417, allocations: 36.53 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.2425, allocations: 353.9 kB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.2458, allocations: 2.214 MB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.2465, allocations: 262.4 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.2469, allocations: 160.8 kB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.2469, allocations: 4 kB / 0.9101 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.247, allocations: 38.94 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.076e-06/0.247, allocations: 0 / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002573/0.2496, allocations: 1.042 MB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2497, allocations: 63.34 kB / 0.9112 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.25, allocations: 252.8 kB / 0.9114 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.2501, allocations: 29.7 kB / 0.9115 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2502, allocations: 184 kB / 0.9117 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.2503, allocations: 90.73 kB / 0.9117 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2503, allocations: 4 kB / 0.9117 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.2504, allocations: 334.8 kB / 0.9121 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.2508, allocations: 151.9 kB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.2512, allocations: 233.6 kB / 0.9124 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.2517, allocations: 189.3 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2517, allocations: 0 / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001686/0.2534, allocations: 0.5888 MB / 0.9132 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.2534, allocations: 4 kB / 0.9132 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2535, allocations: 4 kB / 0.9132 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.2546, allocations: 188.8 kB / 0.9134 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.2552, allocations: 63.91 kB / 0.9134 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.2592, allocations: 2.292 MB / 0.9157 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.2598, allocations: 16.02 kB / 0.9157 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.2598, allocations: 19.98 kB / 0.9157 GB, free: 47.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.2601, allocations: 169.7 kB / 0.9159 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.2602, allocations: 19.81 kB / 0.9159 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/0.261, allocations: 355.4 kB / 0.9162 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.261, allocations: 7.938 kB / 0.9162 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.261, allocations: 4.062 kB / 0.9162 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.261, allocations: 0 / 0.9162 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2625, allocations: 0.8045 MB / 0.917 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2626, allocations: 4 kB / 0.917 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.2633, allocations: 83.81 kB / 0.9171 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2634, allocations: 0 / 0.9171 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.2634, allocations: 8 kB / 0.9171 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2634, allocations: 3.984 kB / 0.9171 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2634, allocations: 8.062 kB / 0.9171 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2645, allocations: 0.6102 MB / 0.9177 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.2648, allocations: 124.8 kB / 0.9178 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.2649, allocations: 11.98 kB / 0.9179 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.2652, allocations: 11.98 kB / 0.9179 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2653, allocations: 15.98 kB / 0.9179 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.2653, allocations: 12 kB / 0.9179 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002285/0.2656, allocations: 172.5 kB / 0.9181 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2656, allocations: 0 / 0.9181 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005824/0.2662, allocations: 88 kB / 0.9181 GB, free: 45.04 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.2664, allocations: 111.2 kB / 0.9182 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.2678, allocations: 0.53 MB / 0.9188 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.2678, allocations: 0 / 0.9188 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.2681, allocations: 151.8 kB / 0.9189 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.2688, allocations: 52.53 kB / 0.919 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.2712, allocations: 1.011 MB / 0.9199 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2715, allocations: 0.7912 MB / 0.9207 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004095/0.2719, allocations: 74.91 kB / 0.9208 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2721, allocations: 31.42 kB / 0.9208 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.352e-06/0.2721, allocations: 0 / 0.9208 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.01167/0.2838, allocations: 3.649 MB / 0.9244 GB, free: 38.59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)