Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 91.53 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.009074/0.009075, allocations: 172.9 kB / 16.26 MB, free: 6.617 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 12.03 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004858/0.3375, allocations: 4.468 MB / 1.079 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.3409, allocations: 2.44 MB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.3411, allocations: 19.81 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3414, allocations: 91.14 kB / 1.081 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007764/0.3421, allocations: 414.1 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.3428, allocations: 347.4 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3439, allocations: 1.12 MB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/0.3446, allocations: 468.2 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.3449, allocations: 290.7 kB / 1.084 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.3453, allocations: 334.4 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.3453, allocations: 20 kB / 1.084 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.346, allocations: 495 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3462, allocations: 151.5 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.3464, allocations: 323.9 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.3473, allocations: 0.8798 MB / 1.086 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3473, allocations: 4 kB / 1.086 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3473, allocations: 0 / 1.086 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3473, allocations: 0 / 1.086 GB, free: 11.65 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001091/0.3484, allocations: 0.8218 MB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3484, allocations: 8.031 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3497, allocations: 215.8 kB / 1.087 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/0.3503, allocations: 486.4 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3503, allocations: 33.36 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.3504, allocations: 44.36 kB / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3514, allocations: 0.8485 MB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3515, allocations: 11.84 kB / 1.088 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.3515, allocations: 23.98 kB / 1.088 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.431e-05/0.3516, allocations: 60.97 kB / 1.088 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.3524, allocations: 0.5772 MB / 1.089 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.3563, allocations: 5.643 MB / 1.094 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.3569, allocations: 462.2 kB / 1.095 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.3572, allocations: 224.7 kB / 1.095 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3573, allocations: 4 kB / 1.095 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3573, allocations: 34.56 kB / 1.095 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.3573, allocations: 0 / 1.095 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.00234/0.3597, allocations: 1.528 MB / 1.096 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3597, allocations: 55.69 kB / 1.096 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.3602, allocations: 498.9 kB / 1.097 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3602, allocations: 29.7 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3604, allocations: 354.8 kB / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3606, allocations: 118.3 kB / 1.097 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.3606, allocations: 57.69 kB / 1.097 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3608, allocations: 362.8 kB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.3611, allocations: 193.2 kB / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.3615, allocations: 447.3 kB / 1.098 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/0.3623, allocations: 0.6835 MB / 1.099 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3623, allocations: 0 / 1.099 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001226/0.3635, allocations: 0.8209 MB / 1.1 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3635, allocations: 8 kB / 1.1 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3636, allocations: 8 kB / 1.1 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.364, allocations: 164.8 kB / 1.1 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.3645, allocations: 119.8 kB / 1.1 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.3674, allocations: 4.044 MB / 1.104 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3677, allocations: 31.97 kB / 1.104 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.3678, allocations: 31.94 kB / 1.104 GB, free: 7.199 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.368, allocations: 217.6 kB / 1.104 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.3681, allocations: 59.34 kB / 1.104 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3691, allocations: 0.5891 MB / 1.105 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3692, allocations: 4 kB / 1.105 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3692, allocations: 0 / 1.105 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3692, allocations: 7.938 kB / 1.105 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3709, allocations: 1.265 MB / 1.106 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3709, allocations: 4 kB / 1.106 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3711, allocations: 52.17 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.3715, allocations: 144.1 kB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.3715, allocations: 7.984 kB / 1.106 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.3744, allocations: 4.029 MB / 1.11 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3745, allocations: 7.969 kB / 1.11 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.3754, allocations: 0.7117 MB / 1.111 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.3756, allocations: 168.3 kB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.3757, allocations: 15.88 kB / 1.111 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.3759, allocations: 19.97 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.376, allocations: 39.89 kB / 1.111 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.376, allocations: 8 kB / 1.111 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003315/0.3763, allocations: 334.8 kB / 1.112 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3763, allocations: 0 / 1.112 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005685/0.3769, allocations: 136 kB / 1.112 GB, free: 14.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001315/0.3771, allocations: 111.9 kB / 1.112 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.3783, allocations: 1.033 MB / 1.113 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3783, allocations: 4.125 kB / 1.113 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.3791, allocations: 0.7419 MB / 1.114 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3802, allocations: 187.8 kB / 1.114 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.3818, allocations: 1.261 MB / 1.115 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.3824, allocations: 0.9097 MB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003144/0.3827, allocations: 129.2 kB / 1.116 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.3828, allocations: 39.44 kB / 1.116 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.3828, allocations: 0 / 1.116 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.01249/0.3953, allocations: 7.266 MB / 1.123 GB, free: 2.961 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)