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.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.754/1.754, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.818/1.818, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001434/0.001434, allocations: 72.97 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3343, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005052/0.3394, allocations: 3.238 MB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.3426, allocations: 1.871 MB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.3428, allocations: 4 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008957/0.3437, allocations: 282.8 kB / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3443, allocations: 215 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.3449, allocations: 295.2 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004505/0.3454, allocations: 410.7 kB / 0.7895 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.3458, allocations: 205.2 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.346, allocations: 155.5 kB / 0.7899 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.3464, allocations: 191.3 kB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.3464, allocations: 27.94 kB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.3468, allocations: 239.6 kB / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3469, allocations: 115.7 kB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.3471, allocations: 155.2 kB / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.3476, allocations: 466.6 kB / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3476, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3476, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3476, allocations: 0 / 0.791 GB, free: 5.656 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.001103/0.3487, allocations: 0.6003 MB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3487, allocations: 15.97 kB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.3495, allocations: 96.47 kB / 0.7917 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.3498, allocations: 272.5 kB / 0.792 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3499, allocations: 16.92 kB / 0.792 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.35, allocations: 32.69 kB / 0.792 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.3507, allocations: 457 kB / 0.7924 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3507, allocations: 0 / 0.7924 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3507, allocations: 8 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.3509, allocations: 40.53 kB / 0.7925 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.3514, allocations: 349.9 kB / 0.7928 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.3539, allocations: 2.199 MB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.3543, allocations: 270.4 kB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.3546, allocations: 164.8 kB / 0.7954 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3546, allocations: 7.984 kB / 0.7954 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3547, allocations: 34.5 kB / 0.7954 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.3547, allocations: 4 kB / 0.7954 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001822/0.3565, allocations: 1.055 MB / 0.7965 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.3566, allocations: 55.41 kB / 0.7965 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.3568, allocations: 252.8 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3569, allocations: 29.7 kB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.357, allocations: 188 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.3571, allocations: 86.75 kB / 0.797 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3572, allocations: 73.59 kB / 0.7971 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3573, allocations: 334.8 kB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3576, allocations: 151.9 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.3578, allocations: 241.5 kB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.3584, allocations: 398.8 kB / 0.7982 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3584, allocations: 3.938 kB / 0.7982 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001085/0.3595, allocations: 0.5936 MB / 0.7988 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3595, allocations: 4.938 kB / 0.7988 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3595, allocations: 4 kB / 0.7988 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.3602, allocations: 196.8 kB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3605, allocations: 59.89 kB / 0.799 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.3634, allocations: 2.5 MB / 0.8015 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3637, allocations: 16.02 kB / 0.8015 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3637, allocations: 16 kB / 0.8015 GB, free: 10.23 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.0001841/0.3639, allocations: 164.9 kB / 0.8017 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.364, allocations: 27.66 kB / 0.8017 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.3645, allocations: 347.5 kB / 0.802 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3645, allocations: 12 kB / 0.802 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3645, allocations: 3.984 kB / 0.802 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3645, allocations: 0 / 0.802 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3656, allocations: 0.8121 MB / 0.8028 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3656, allocations: 7.938 kB / 0.8028 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.366, allocations: 71.94 kB / 0.8029 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.366, allocations: 8 kB / 0.8029 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.366, allocations: 4.062 kB / 0.8029 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.366, allocations: 4 kB / 0.8029 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.366, allocations: 0 / 0.8029 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.3668, allocations: 0.6136 MB / 0.8035 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3669, allocations: 128.8 kB / 0.8036 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3669, allocations: 8 kB / 0.8036 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3672, allocations: 15.98 kB / 0.8037 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3672, allocations: 15.92 kB / 0.8037 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3672, allocations: 8 kB / 0.8037 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001792/0.3674, allocations: 180.5 kB / 0.8039 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3674, allocations: 0 / 0.8039 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004071/0.3678, allocations: 92 kB / 0.8039 GB, free: 7.621 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.0001863/0.368, allocations: 111.1 kB / 0.804 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009593/0.369, allocations: 0.5646 MB / 0.8046 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.369, allocations: 4 kB / 0.8046 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3692, allocations: 152.5 kB / 0.8047 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3697, allocations: 55.8 kB / 0.8048 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3712, allocations: 0.8352 MB / 0.8056 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3717, allocations: 0.7951 MB / 0.8064 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.3719, allocations: 74.91 kB / 0.8065 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.372, allocations: 27.38 kB / 0.8065 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.372, allocations: 0 / 0.8065 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.007892/0.3799, allocations: 3.979 MB / 0.8104 GB, free: 0.9766 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)