Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001061/0.001061, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.00804/0.008041, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 12.72 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004053/0.3369, allocations: 2.937 MB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.3399, allocations: 2.007 MB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.34, allocations: 4 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.3402, allocations: 43.64 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.3407, allocations: 211.2 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.3413, allocations: 274.7 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.3418, allocations: 0.5726 MB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007268/0.3426, allocations: 449.1 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3427, allocations: 135.4 kB / 1.081 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.3431, allocations: 199.3 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.3431, allocations: 12 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.3435, allocations: 303.4 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3437, allocations: 107.7 kB / 1.081 GB, free: 324 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.3438, allocations: 165 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.3443, allocations: 494.6 kB / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3443, allocations: 0 / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3444, allocations: 0 / 1.082 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3444, allocations: 0 / 1.082 GB, free: 15.66 MB / 0.8419 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.0009483/0.3453, allocations: 0.542 MB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3454, allocations: 12.03 kB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009608/0.3463, allocations: 116.4 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3467, allocations: 276.4 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3467, allocations: 28.86 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.3469, allocations: 32.5 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.3476, allocations: 453.1 kB / 1.083 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3476, allocations: 8 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3477, allocations: 4 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/0.3478, allocations: 44.52 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.3484, allocations: 365.9 kB / 1.084 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3509, allocations: 2.226 MB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3514, allocations: 270.4 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3516, allocations: 156.8 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3516, allocations: 7.984 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3516, allocations: 30.56 kB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.3517, allocations: 0 / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001754/0.3534, allocations: 1.064 MB / 1.087 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3535, allocations: 59.27 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3538, allocations: 260.8 kB / 1.088 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3538, allocations: 29.7 kB / 1.088 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3539, allocations: 184 kB / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.354, allocations: 86.75 kB / 1.088 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.3541, allocations: 37.7 kB / 1.088 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3542, allocations: 334.8 kB / 1.088 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.3545, allocations: 159.9 kB / 1.088 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.3548, allocations: 249.5 kB / 1.089 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.3554, allocations: 402.8 kB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3554, allocations: 7.938 kB / 1.089 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001168/0.3566, allocations: 0.5973 MB / 1.09 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3566, allocations: 8 kB / 1.09 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3566, allocations: 0 / 1.09 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.3573, allocations: 196.7 kB / 1.09 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.3576, allocations: 63.89 kB / 1.09 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.3602, allocations: 2.292 MB / 1.092 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3606, allocations: 32.03 kB / 1.092 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3607, allocations: 12 kB / 1.092 GB, free: 4.422 MB / 0.8419 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.0001631/0.3608, allocations: 167.5 kB / 1.092 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3609, allocations: 27.66 kB / 1.092 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.3615, allocations: 355.6 kB / 1.093 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3615, allocations: 4 kB / 1.093 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3615, allocations: 7.984 kB / 1.093 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3615, allocations: 0 / 1.093 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3625, allocations: 0.8158 MB / 1.093 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3625, allocations: 0 / 1.093 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.3629, allocations: 75.88 kB / 1.094 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.363, allocations: 0 / 1.094 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.363, allocations: 12 kB / 1.094 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.363, allocations: 4.062 kB / 1.094 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.363, allocations: 7.984 kB / 1.094 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.3637, allocations: 0.6026 MB / 1.094 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3639, allocations: 128.8 kB / 1.094 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3639, allocations: 15.92 kB / 1.094 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3642, allocations: 15.98 kB / 1.094 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3642, allocations: 11.98 kB / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3642, allocations: 7.938 kB / 1.094 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002108/0.3645, allocations: 188.5 kB / 1.094 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3645, allocations: 0 / 1.094 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000398/0.3649, allocations: 95.94 kB / 1.095 GB, free: 1.789 MB / 0.8419 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.365, allocations: 115.2 kB / 1.095 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008981/0.366, allocations: 0.5315 MB / 1.095 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.366, allocations: 0 / 1.095 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.3662, allocations: 142.8 kB / 1.095 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.3667, allocations: 56.52 kB / 1.095 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.3681, allocations: 1.023 MB / 1.096 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3685, allocations: 0.7912 MB / 1.097 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.3687, allocations: 78.86 kB / 1.097 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.3688, allocations: 23.42 kB / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3688, allocations: 0 / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.007327/0.3761, allocations: 3.886 MB / 1.101 GB, free: 11.09 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)