Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.009513/0.009513, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001405/0.001405, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.633/1.633, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 70.09 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00432/0.3226, allocations: 2.443 MB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3253, allocations: 1.458 MB / 0.8319 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3255, allocations: 3.938 kB / 0.8319 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.3263, allocations: 178.1 kB / 0.832 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.3266, allocations: 135.4 kB / 0.8322 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.3274, allocations: 183.5 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.3279, allocations: 215.3 kB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.3282, allocations: 125 kB / 0.8327 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.3284, allocations: 87.62 kB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.3288, allocations: 99.7 kB / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.3288, allocations: 12 kB / 0.8328 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.3293, allocations: 183.6 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3294, allocations: 63.81 kB / 0.8331 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.3296, allocations: 83.53 kB / 0.8332 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.3303, allocations: 290.9 kB / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3303, allocations: 0 / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3303, allocations: 0 / 0.8334 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3303, allocations: 4 kB / 0.8334 GB, free: 10.65 MB / 0.6544 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.0009684/0.3313, allocations: 477.3 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3314, allocations: 8.031 kB / 0.8339 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.3322, allocations: 68.72 kB / 0.834 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3326, allocations: 232.1 kB / 0.8342 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3326, allocations: 8.656 kB / 0.8342 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.3327, allocations: 12.38 kB / 0.8342 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.3333, allocations: 287.6 kB / 0.8345 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3333, allocations: 0 / 0.8345 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.3334, allocations: 8 kB / 0.8345 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.3335, allocations: 20.22 kB / 0.8345 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.3339, allocations: 204.5 kB / 0.8347 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.3359, allocations: 1.576 MB / 0.8362 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.3364, allocations: 319.2 kB / 0.8366 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3365, allocations: 61.69 kB / 0.8366 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3365, allocations: 4 kB / 0.8366 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3365, allocations: 38.5 kB / 0.8367 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3366, allocations: 4 kB / 0.8367 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006179/0.3372, allocations: 249.1 kB / 0.8369 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3373, allocations: 81.05 kB / 0.837 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3375, allocations: 203.3 kB / 0.8372 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3375, allocations: 29.7 kB / 0.8372 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3376, allocations: 159.9 kB / 0.8373 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3377, allocations: 31.73 kB / 0.8374 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.3378, allocations: 53.84 kB / 0.8374 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3379, allocations: 326.8 kB / 0.8377 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3381, allocations: 76.75 kB / 0.8378 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3383, allocations: 159.9 kB / 0.838 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.3386, allocations: 219 kB / 0.8382 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3386, allocations: 4 kB / 0.8382 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004291/0.339, allocations: 269.1 kB / 0.8384 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3391, allocations: 4 kB / 0.8384 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3391, allocations: 4 kB / 0.8384 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3391, allocations: 7.938 kB / 0.8384 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.3394, allocations: 51.91 kB / 0.8385 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3394, allocations: 4 kB / 0.8385 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3396, allocations: 24.42 kB / 0.8385 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3396, allocations: 12 kB / 0.8385 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001815/0.3398, allocations: 165.2 kB / 0.8387 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001536/0.3399, allocations: 146.8 kB / 0.8388 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002634/0.3402, allocations: 223.8 kB / 0.839 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.3402, allocations: 0 / 0.839 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003746/0.3406, allocations: 249.2 kB / 0.8393 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3406, allocations: 7.984 kB / 0.8393 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3406, allocations: 4 kB / 0.8393 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.3406, allocations: 4 kB / 0.8393 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3408, allocations: 43.92 kB / 0.8393 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3408, allocations: 15.86 kB / 0.8394 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.341, allocations: 12.41 kB / 0.8394 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.341, allocations: 12 kB / 0.8394 GB, free: 4.004 MB / 0.6544 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.0001421/0.3411, allocations: 200.1 kB / 0.8396 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.3412, allocations: 15.91 kB / 0.8396 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3415, allocations: 143 kB / 0.8397 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3415, allocations: 3.938 kB / 0.8397 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3415, allocations: 4 kB / 0.8397 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3415, allocations: 0 / 0.8397 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3426, allocations: 0.7196 MB / 0.8404 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3426, allocations: 352 / 0.8404 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3427, allocations: 31.98 kB / 0.8405 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3427, allocations: 4 kB / 0.8405 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3428, allocations: 4 kB / 0.8405 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3428, allocations: 3.938 kB / 0.8405 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3428, allocations: 4 kB / 0.8405 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3432, allocations: 382.2 kB / 0.8408 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3433, allocations: 109 kB / 0.8409 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.3433, allocations: 11.94 kB / 0.841 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3435, allocations: 7.984 kB / 0.841 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3435, allocations: 19.92 kB / 0.841 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.3436, allocations: 4 kB / 0.841 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001424/0.3437, allocations: 148.9 kB / 0.8411 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 3.938 kB / 0.8411 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005569/0.3443, allocations: 68 kB / 0.8412 GB, free: 1.98 MB / 0.6544 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.0002011/0.3445, allocations: 103.2 kB / 0.8413 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.345, allocations: 268.5 kB / 0.8416 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.345, allocations: 4.5 kB / 0.8416 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.3451, allocations: 59.84 kB / 0.8416 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.3456, allocations: 41.53 kB / 0.8417 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.3464, allocations: 419 kB / 0.8421 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.3468, allocations: 0.7478 MB / 0.8428 GB, free: 276 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000185/0.347, allocations: 73.47 kB / 0.8429 GB, free: 200 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.3471, allocations: 15.44 kB / 0.8429 GB, free: 184 kB / 0.6544 GB Notification: Performance of SimCode: time 1.863e-06/0.3471, allocations: 0 / 0.8429 GB, free: 184 kB / 0.6544 GB Notification: Performance of Templates: time 0.005616/0.3527, allocations: 1.79 MB / 0.8446 GB, free: 14.4 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)