Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.0009923/0.0009924, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007894/0.007894, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 8.75 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2958, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003601/0.2995, allocations: 2.945 MB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.3025, allocations: 1.995 MB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.3026, allocations: 4 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.3028, allocations: 43.64 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.3034, allocations: 219.2 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.304, allocations: 271.4 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.3045, allocations: 0.5649 MB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007292/0.3053, allocations: 453 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.3055, allocations: 135.5 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.3058, allocations: 191.3 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.3058, allocations: 12 kB / 1.081 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.3063, allocations: 311.4 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3064, allocations: 111.7 kB / 1.081 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3065, allocations: 157 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.307, allocations: 490.6 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3071, allocations: 0 / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3071, allocations: 4 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3071, allocations: 0 / 1.082 GB, free: 15.61 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.001078/0.3082, allocations: 0.5459 MB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3082, allocations: 8.031 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.3093, allocations: 112.4 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.3096, allocations: 284.4 kB / 1.083 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3097, allocations: 20.94 kB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3098, allocations: 36.48 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.3106, allocations: 457.1 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3106, allocations: 0 / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.3107, allocations: 12 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.3108, allocations: 40.53 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.3115, allocations: 361.9 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.314, allocations: 2.23 MB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.3145, allocations: 266.3 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.3147, allocations: 166.1 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3147, allocations: 0 / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3147, allocations: 38.56 kB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.193e-06/0.3147, allocations: 0 / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001707/0.3165, allocations: 1.055 MB / 1.087 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.3165, allocations: 55.27 kB / 1.087 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3168, allocations: 268.8 kB / 1.088 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3168, allocations: 25.7 kB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3169, allocations: 188 kB / 1.088 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.317, allocations: 86.73 kB / 1.088 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.3171, allocations: 33.7 kB / 1.088 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3172, allocations: 342.8 kB / 1.088 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3175, allocations: 159.8 kB / 1.088 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.3178, allocations: 241.6 kB / 1.089 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.3183, allocations: 414.8 kB / 1.089 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3184, allocations: 3.938 kB / 1.089 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/0.3195, allocations: 0.5934 MB / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3196, allocations: 7.938 kB / 1.09 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3196, allocations: 7.938 kB / 1.09 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/0.3203, allocations: 188.9 kB / 1.09 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.3206, allocations: 63.89 kB / 1.09 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.3232, allocations: 2.3 MB / 1.092 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.3236, allocations: 28.03 kB / 1.092 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3236, allocations: 12 kB / 1.092 GB, free: 4.363 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.0001735/0.3238, allocations: 161.8 kB / 1.092 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.3239, allocations: 27.66 kB / 1.092 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.3244, allocations: 355.5 kB / 1.093 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3244, allocations: 8 kB / 1.093 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.3245, allocations: 0 / 1.093 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3245, allocations: 0 / 1.093 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.3255, allocations: 0.8198 MB / 1.093 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3255, allocations: 0 / 1.093 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.3259, allocations: 75.88 kB / 1.094 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3259, allocations: 4 kB / 1.094 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3259, allocations: 11.98 kB / 1.094 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3259, allocations: 4.062 kB / 1.094 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3259, allocations: 0 / 1.094 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.3267, allocations: 0.6143 MB / 1.094 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3268, allocations: 128.8 kB / 1.094 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3268, allocations: 4 kB / 1.094 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.3271, allocations: 19.98 kB / 1.094 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3271, allocations: 19.86 kB / 1.094 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3272, allocations: 11.98 kB / 1.094 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002228/0.3274, allocations: 188.5 kB / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3274, allocations: 0 / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004268/0.3278, allocations: 91.94 kB / 1.095 GB, free: 1.73 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.0001689/0.328, allocations: 115.1 kB / 1.095 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009202/0.329, allocations: 0.5217 MB / 1.095 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.329, allocations: 0 / 1.095 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3292, allocations: 152.4 kB / 1.095 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3297, allocations: 56.52 kB / 1.095 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3311, allocations: 1.022 MB / 1.096 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.3315, allocations: 0.7873 MB / 1.097 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.3317, allocations: 78.91 kB / 1.097 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.3318, allocations: 27.42 kB / 1.097 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3318, allocations: 0 / 1.097 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of Templates: time 0.007527/0.3394, allocations: 3.879 MB / 1.101 GB, free: 11.04 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)