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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001562/0.001562, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.41/1.41, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.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.781/1.781, allocations: 292.2 MB / 0.5484 GB, free: 13.7 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.001912/0.001912, allocations: 68.83 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2096, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004528/0.2142, allocations: 3.295 MB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2169, allocations: 1.875 MB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.217, allocations: 4 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008169/0.2179, allocations: 272.2 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.2183, allocations: 203.2 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.2189, allocations: 262.4 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.2194, allocations: 0.5687 MB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.2199, allocations: 209.1 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2201, allocations: 135.5 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2204, allocations: 203.3 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.2205, allocations: 20 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.2209, allocations: 279.4 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.221, allocations: 111.7 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2212, allocations: 143.2 kB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.2217, allocations: 474.5 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2217, allocations: 0 / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2217, allocations: 0 / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2217, allocations: 0 / 0.7905 GB, free: 5.996 MB / 0.6075 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.001139/0.2228, allocations: 0.5965 MB / 0.7911 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2229, allocations: 8.031 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.2237, allocations: 96.45 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.224, allocations: 277.6 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.224, allocations: 16.94 kB / 0.7915 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2242, allocations: 40.47 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.2248, allocations: 445.1 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.2248, allocations: 0 / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.2249, allocations: 8 kB / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.225, allocations: 36.53 kB / 0.792 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.2256, allocations: 353.9 kB / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.228, allocations: 2.206 MB / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.2284, allocations: 266.4 kB / 0.7947 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2286, allocations: 164.8 kB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2287, allocations: 4 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2287, allocations: 34.56 kB / 0.7949 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.2287, allocations: 0 / 0.7949 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00175/0.2305, allocations: 1.055 MB / 0.7959 GB, free: 12 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2305, allocations: 55.41 kB / 0.796 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2308, allocations: 256.8 kB / 0.7962 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.2308, allocations: 25.7 kB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2309, allocations: 188 kB / 0.7964 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.231, allocations: 90.73 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2311, allocations: 73.59 kB / 0.7966 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2313, allocations: 338.8 kB / 0.7969 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.2315, allocations: 155.8 kB / 0.7971 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2317, allocations: 245.5 kB / 0.7973 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.2322, allocations: 398.8 kB / 0.7977 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2323, allocations: 3.938 kB / 0.7977 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.2334, allocations: 0.5896 MB / 0.7983 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2334, allocations: 4 kB / 0.7983 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2334, allocations: 8.25 kB / 0.7983 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006916/0.2341, allocations: 188.7 kB / 0.7984 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.2344, allocations: 63.91 kB / 0.7985 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.237, allocations: 2.296 MB / 0.8007 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.2373, allocations: 19.97 kB / 0.8008 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.2373, allocations: 16 kB / 0.8008 GB, free: 10.78 MB / 0.6231 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.0001681/0.2375, allocations: 169.8 kB / 0.8009 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.2376, allocations: 23.66 kB / 0.801 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.2381, allocations: 355.5 kB / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2381, allocations: 4 kB / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.2381, allocations: 0 / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2381, allocations: 0 / 0.8013 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.2391, allocations: 0.8154 MB / 0.8021 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2391, allocations: 0 / 0.8021 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.2395, allocations: 79.88 kB / 0.8022 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2396, allocations: 0 / 0.8022 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.2396, allocations: 11.98 kB / 0.8022 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2396, allocations: 4 kB / 0.8022 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2396, allocations: 3.938 kB / 0.8022 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.2403, allocations: 0.6166 MB / 0.8028 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2404, allocations: 124.8 kB / 0.8029 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.2405, allocations: 15.98 kB / 0.8029 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2407, allocations: 11.98 kB / 0.8029 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.2408, allocations: 11.98 kB / 0.803 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2408, allocations: 8 kB / 0.803 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001793/0.241, allocations: 180.5 kB / 0.8031 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.241, allocations: 0 / 0.8031 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004037/0.2414, allocations: 95.94 kB / 0.8032 GB, free: 8.164 MB / 0.6231 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.000175/0.2416, allocations: 115.1 kB / 0.8033 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.2425, allocations: 0.53 MB / 0.8039 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2425, allocations: 4.062 kB / 0.8039 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2427, allocations: 143.9 kB / 0.804 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.2432, allocations: 64.25 kB / 0.8041 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.2447, allocations: 0.9343 MB / 0.805 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.245, allocations: 0.7951 MB / 0.8058 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.2452, allocations: 70.92 kB / 0.8058 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.2453, allocations: 23.42 kB / 0.8058 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2453, allocations: 4 kB / 0.8058 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of Templates: time 0.007042/0.2524, allocations: 3.821 MB / 0.8096 GB, free: 1.602 MB / 0.6231 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)