Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007944/0.0007945, allocations: 97.8 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.005213/0.005213, allocations: 169.2 kB / 16.26 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.387/1.387, 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.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 9.781 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3114, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004005/0.3154, allocations: 3.409 MB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3181, allocations: 1.781 MB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.3183, allocations: 11.88 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3185, allocations: 59.5 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006394/0.3191, allocations: 274.7 kB / 1.08 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.3197, allocations: 235 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007127/0.3204, allocations: 0.7374 MB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.3211, allocations: 366.9 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.3214, allocations: 207 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3217, allocations: 215 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.3217, allocations: 16 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.3222, allocations: 335.3 kB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3223, allocations: 111.6 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.3226, allocations: 220.5 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.3232, allocations: 0.5802 MB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3232, allocations: 4 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3232, allocations: 0 / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3232, allocations: 0 / 1.082 GB, free: 14.93 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001001/0.3242, allocations: 0.6623 MB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3242, allocations: 12.03 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/0.3251, allocations: 140.2 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3256, allocations: 379.6 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3256, allocations: 21.03 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3257, allocations: 32.36 kB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.3265, allocations: 0.5511 MB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3265, allocations: 7.906 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.3266, allocations: 15.98 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/0.3266, allocations: 44.47 kB / 1.084 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.3274, allocations: 421.8 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.33, allocations: 3.33 MB / 1.088 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.3307, allocations: 347.1 kB / 1.088 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.331, allocations: 181.4 kB / 1.088 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.331, allocations: 4 kB / 1.088 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.331, allocations: 34.56 kB / 1.088 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.3311, allocations: 4 kB / 1.088 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.002079/0.3331, allocations: 1.088 MB / 1.09 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3332, allocations: 55.64 kB / 1.09 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.3335, allocations: 349.5 kB / 1.09 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3336, allocations: 29.7 kB / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3337, allocations: 247.5 kB / 1.09 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.3338, allocations: 94.64 kB / 1.09 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.3339, allocations: 37.7 kB / 1.09 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.334, allocations: 346.8 kB / 1.091 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3343, allocations: 152.8 kB / 1.091 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.3346, allocations: 298.5 kB / 1.091 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.3353, allocations: 490.3 kB / 1.092 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3354, allocations: 0 / 1.092 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009907/0.3364, allocations: 0.5779 MB / 1.092 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3364, allocations: 8 kB / 1.092 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3364, allocations: 4 kB / 1.092 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.3367, allocations: 86.52 kB / 1.092 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.3371, allocations: 91.88 kB / 1.092 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3371, allocations: 12.09 kB / 1.092 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.3374, allocations: 39.91 kB / 1.092 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3374, allocations: 16 kB / 1.092 GB, free: 4.109 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.3376, allocations: 177.6 kB / 1.093 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.3377, allocations: 39.53 kB / 1.093 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008974/0.3386, allocations: 479.9 kB / 1.093 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3386, allocations: 4 kB / 1.093 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3386, allocations: 0 / 1.093 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3386, allocations: 3.984 kB / 1.093 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.34, allocations: 0.9732 MB / 1.094 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3401, allocations: 8.031 kB / 1.094 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.3403, allocations: 51.91 kB / 1.094 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.3406, allocations: 82.5 kB / 1.094 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3406, allocations: 4 kB / 1.094 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3406, allocations: 4 kB / 1.094 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3406, allocations: 0 / 1.094 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.3414, allocations: 0.5585 MB / 1.095 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3416, allocations: 132.6 kB / 1.095 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.3416, allocations: 11.94 kB / 1.095 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3419, allocations: 23.97 kB / 1.095 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.342, allocations: 27.91 kB / 1.095 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.342, allocations: 4 kB / 1.095 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002088/0.3422, allocations: 243.2 kB / 1.095 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3422, allocations: 0 / 1.095 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004063/0.3426, allocations: 88 kB / 1.095 GB, free: 1.059 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001359/0.3428, allocations: 111.1 kB / 1.095 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008615/0.3436, allocations: 0.6329 MB / 1.096 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3436, allocations: 4 kB / 1.096 GB, free: 244 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3441, allocations: 437.8 kB / 1.096 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.3449, allocations: 119 kB / 1.096 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.346, allocations: 0.9088 MB / 1.097 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3464, allocations: 0.8197 MB / 1.098 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000232/0.3466, allocations: 83.34 kB / 1.098 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.3467, allocations: 31.44 kB / 1.098 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3467, allocations: 0 / 1.098 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of Templates: time 0.00918/0.3559, allocations: 4.466 MB / 1.103 GB, free: 9.312 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)