Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001124/0.001124, allocations: 194.2 kB / 16.14 MB, free: 6.664 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.09 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.33, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004834/0.3349, allocations: 2.486 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.3377, allocations: 1.593 MB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3378, allocations: 0 / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.3386, allocations: 167.5 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.3389, allocations: 135.5 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.3394, allocations: 159.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.3398, allocations: 323.1 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3402, allocations: 129 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3403, allocations: 75.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3406, allocations: 107.6 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3406, allocations: 12 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.3411, allocations: 251.5 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.3412, allocations: 55.88 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3413, allocations: 83.52 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3418, allocations: 307.4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3418, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3418, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.3418, allocations: 0 / 1.073 GB, free: 5.066 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.0008529/0.3426, allocations: 483.1 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3427, allocations: 12.03 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.3435, allocations: 88.64 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3438, allocations: 228 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3438, allocations: 12.66 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3438, allocations: 12.38 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.3443, allocations: 295.5 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3444, allocations: 0 / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.3444, allocations: 12 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.3444, allocations: 16.22 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.3448, allocations: 220.4 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3467, allocations: 1.607 MB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.3471, allocations: 315.3 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3472, allocations: 65.67 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3473, allocations: 4 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3473, allocations: 38.56 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3473, allocations: 0 / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005685/0.3479, allocations: 244.5 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3479, allocations: 77.11 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.3482, allocations: 203.4 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3482, allocations: 33.7 kB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.3483, allocations: 151.8 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3483, allocations: 35.64 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.3484, allocations: 57.69 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3485, allocations: 326.8 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3487, allocations: 80.81 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3489, allocations: 160.5 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.3493, allocations: 238.9 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3493, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000489/0.3498, allocations: 273.3 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3498, allocations: 9.938 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3498, allocations: 4 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3498, allocations: 11.92 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3501, allocations: 51.91 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3501, allocations: 7.938 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.3504, allocations: 27.91 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3504, allocations: 8 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002234/0.3506, allocations: 172.1 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000182/0.3508, allocations: 153.3 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002726/0.3511, allocations: 219.8 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.3511, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004393/0.3516, allocations: 257 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.3516, allocations: 8 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3516, allocations: 7.984 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.3516, allocations: 4 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3518, allocations: 52.31 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3518, allocations: 12.34 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3521, allocations: 19.98 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3521, allocations: 11.94 kB / 1.079 GB, free: 14.27 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.0001099/0.3522, allocations: 196.1 kB / 1.079 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.3523, allocations: 19.8 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.3525, allocations: 151 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3525, allocations: 3.938 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3526, allocations: 0 / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3526, allocations: 4 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.3535, allocations: 0.7196 MB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.3535, allocations: 8.125 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3536, allocations: 27.92 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3536, allocations: 4 kB / 1.08 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3537, allocations: 3.984 kB / 1.08 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3537, allocations: 7.938 kB / 1.08 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.3537, allocations: 7.938 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.354, allocations: 378.6 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.3541, allocations: 104.9 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.3541, allocations: 7.984 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3543, allocations: 11.98 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3544, allocations: 15.94 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3544, allocations: 4 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001874/0.3546, allocations: 161.1 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3546, allocations: 0 / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005218/0.3551, allocations: 72 kB / 1.081 GB, free: 12.22 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.0001724/0.3553, allocations: 116.7 kB / 1.081 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.3558, allocations: 272.9 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3558, allocations: 4 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.3559, allocations: 64.47 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.3564, allocations: 37.03 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.3571, allocations: 479.4 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3575, allocations: 0.7363 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.3577, allocations: 77.47 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.3578, allocations: 23.42 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3578, allocations: 0 / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.004576/0.3624, allocations: 1.809 MB / 1.085 GB, free: 8.555 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)