Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009037, allocations: 97.33 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.006335/0.006335, allocations: 169.7 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.74/2.74, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003929, allocations: 10.91 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3552, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003158/0.3584, allocations: 2.135 MB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.3611, allocations: 1.558 MB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.3612, allocations: 8 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.3614, allocations: 23.8 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.362, allocations: 139.5 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.3625, allocations: 175.6 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.3629, allocations: 315.2 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.3634, allocations: 238 kB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3635, allocations: 75.64 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.3638, allocations: 91.7 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3638, allocations: 4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3642, allocations: 259.5 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.3643, allocations: 59.81 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.3644, allocations: 97.3 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3648, allocations: 299.3 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3648, allocations: 4 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3648, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3648, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006457/0.3655, allocations: 447.2 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3655, allocations: 11.97 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.3663, allocations: 92.64 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3665, allocations: 224 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3666, allocations: 12.66 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.3666, allocations: 12.38 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.3671, allocations: 295.5 kB / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3671, allocations: 0 / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3672, allocations: 4 kB / 1.081 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.3672, allocations: 24.22 kB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.3676, allocations: 224.4 kB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.3695, allocations: 1.607 MB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.3699, allocations: 319.2 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.37, allocations: 65.67 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.37, allocations: 0 / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3701, allocations: 38.56 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.3701, allocations: 0 / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0005665/0.3706, allocations: 248.6 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3707, allocations: 81.05 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.371, allocations: 207.5 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.371, allocations: 25.7 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.3711, allocations: 155.8 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3712, allocations: 39.55 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.3712, allocations: 21.7 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3713, allocations: 326.8 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3715, allocations: 71.95 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.3717, allocations: 161 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.3721, allocations: 242.9 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3721, allocations: 0 / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004869/0.3726, allocations: 269.4 kB / 1.084 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.3727, allocations: 183.2 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3727, allocations: 4 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3727, allocations: 4 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.373, allocations: 51.91 kB / 1.085 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.373, allocations: 7.984 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3732, allocations: 27.92 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3733, allocations: 11.98 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.3733, allocations: 4 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003899/0.3737, allocations: 207.8 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3737, allocations: 4 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.3737, allocations: 4 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.3739, allocations: 51.91 kB / 1.085 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3739, allocations: 7.984 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.3741, allocations: 11.94 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.3741, allocations: 20.05 kB / 1.085 GB, free: 11.78 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0001415/0.3743, allocations: 225.2 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.3743, allocations: 19.81 kB / 1.085 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.3746, allocations: 159.4 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3746, allocations: 0 / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3746, allocations: 3.938 kB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3746, allocations: 0 / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.3756, allocations: 0.7196 MB / 1.086 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3756, allocations: 4 kB / 1.086 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3757, allocations: 28.27 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3757, allocations: 7.938 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3758, allocations: 8 kB / 1.086 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3758, allocations: 4 kB / 1.086 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3758, allocations: 4 kB / 1.086 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3761, allocations: 378.4 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.3762, allocations: 104.9 kB / 1.087 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3762, allocations: 8 kB / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3765, allocations: 15.92 kB / 1.087 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3765, allocations: 23.86 kB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3765, allocations: 4 kB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001927/0.3767, allocations: 157.1 kB / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3767, allocations: 0 / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005226/0.3773, allocations: 72 kB / 1.087 GB, free: 9.691 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0001766/0.3774, allocations: 111.2 kB / 1.087 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.378, allocations: 280.7 kB / 1.087 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.378, allocations: 0 / 1.087 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.3781, allocations: 59.91 kB / 1.087 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.3787, allocations: 32.56 kB / 1.087 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.3795, allocations: 496.5 kB / 1.088 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3799, allocations: 0.7402 MB / 1.089 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.3801, allocations: 81.45 kB / 1.089 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3802, allocations: 19.38 kB / 1.089 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3802, allocations: 0 / 1.089 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of Templates: time 0.004719/0.3849, allocations: 1.789 MB / 1.09 GB, free: 6.031 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)