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.009943/0.009944, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002185/0.002185, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.736/1.736, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001481/0.001482, allocations: 79.88 kB / 0.7258 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2662, allocations: 104.7 MB / 0.828 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004396/0.2707, allocations: 2.447 MB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.2733, allocations: 1.458 MB / 0.8318 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2734, allocations: 7.938 kB / 0.8319 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.2742, allocations: 175.3 kB / 0.832 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.2745, allocations: 131.4 kB / 0.8321 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.275, allocations: 183.5 kB / 0.8323 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.2754, allocations: 223.2 kB / 0.8325 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.2757, allocations: 121 kB / 0.8327 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2759, allocations: 87.69 kB / 0.8327 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2761, allocations: 99.64 kB / 0.8328 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.2762, allocations: 12 kB / 0.8328 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2765, allocations: 187.6 kB / 0.833 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-05/0.2766, allocations: 63.81 kB / 0.8331 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2768, allocations: 79.59 kB / 0.8332 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.2772, allocations: 283.1 kB / 0.8334 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2772, allocations: 0 / 0.8334 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2772, allocations: 0 / 0.8334 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2772, allocations: 0 / 0.8334 GB, free: 10.8 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.0007762/0.278, allocations: 477.7 kB / 0.8339 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.278, allocations: 12.03 kB / 0.8339 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.2786, allocations: 64.58 kB / 0.834 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2789, allocations: 235 kB / 0.8342 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2789, allocations: 12.66 kB / 0.8342 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.279, allocations: 12.38 kB / 0.8342 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.2794, allocations: 287.6 kB / 0.8345 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.2795, allocations: 4 kB / 0.8345 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.2795, allocations: 4 kB / 0.8345 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.2795, allocations: 16.22 kB / 0.8345 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.2799, allocations: 212.5 kB / 0.8347 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2819, allocations: 1.572 MB / 0.8362 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2824, allocations: 323.2 kB / 0.8365 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2825, allocations: 61.69 kB / 0.8366 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2825, allocations: 0 / 0.8366 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2825, allocations: 38.56 kB / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 4.799e-06/0.2826, allocations: 0 / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0007075/0.2833, allocations: 244.4 kB / 0.8369 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.2833, allocations: 89.05 kB / 0.837 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.2836, allocations: 195.5 kB / 0.8371 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2836, allocations: 25.7 kB / 0.8372 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2838, allocations: 163.7 kB / 0.8373 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.2838, allocations: 35.55 kB / 0.8374 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.2839, allocations: 53.8 kB / 0.8374 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2841, allocations: 322.8 kB / 0.8377 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2842, allocations: 76.75 kB / 0.8378 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.2844, allocations: 156 kB / 0.8379 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.2848, allocations: 234.9 kB / 0.8382 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2848, allocations: 0 / 0.8382 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004091/0.2852, allocations: 261.1 kB / 0.8384 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2852, allocations: 8 kB / 0.8384 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2852, allocations: 4 kB / 0.8384 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.2853, allocations: 7.938 kB / 0.8384 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2855, allocations: 51.91 kB / 0.8385 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2855, allocations: 4.375 kB / 0.8385 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.2857, allocations: 23.89 kB / 0.8385 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2857, allocations: 11.98 kB / 0.8385 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000181/0.2859, allocations: 161.6 kB / 0.8387 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001489/0.2861, allocations: 143.9 kB / 0.8388 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002316/0.2863, allocations: 215.8 kB / 0.839 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.2863, allocations: 7.984 kB / 0.839 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003302/0.2866, allocations: 237.2 kB / 0.8393 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2867, allocations: 10.97 kB / 0.8393 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2867, allocations: 4 kB / 0.8393 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/0.2867, allocations: 4 kB / 0.8393 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2869, allocations: 51.91 kB / 0.8393 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2869, allocations: 12.28 kB / 0.8393 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.287, allocations: 19.91 kB / 0.8394 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.287, allocations: 8 kB / 0.8394 GB, free: 4.156 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.0001425/0.2872, allocations: 196.8 kB / 0.8395 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2872, allocations: 11.91 kB / 0.8396 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.2875, allocations: 139 kB / 0.8397 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2875, allocations: 3.938 kB / 0.8397 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2875, allocations: 0 / 0.8397 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2875, allocations: 3.984 kB / 0.8397 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.2885, allocations: 0.7237 MB / 0.8404 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2885, allocations: 8.062 kB / 0.8404 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.2886, allocations: 19.98 kB / 0.8404 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2886, allocations: 4 kB / 0.8404 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2886, allocations: 8 kB / 0.8404 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2886, allocations: 7.938 kB / 0.8405 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2886, allocations: 4 kB / 0.8405 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2889, allocations: 382.1 kB / 0.8408 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.2891, allocations: 104.9 kB / 0.8409 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.2891, allocations: 11.95 kB / 0.8409 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2893, allocations: 19.97 kB / 0.8409 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.2893, allocations: 11.92 kB / 0.841 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2893, allocations: 12 kB / 0.841 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001318/0.2895, allocations: 144.9 kB / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2895, allocations: 7.938 kB / 0.8411 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005028/0.29, allocations: 64 kB / 0.8412 GB, free: 2.133 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.0002114/0.2902, allocations: 111.2 kB / 0.8413 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.2907, allocations: 268.9 kB / 0.8415 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2907, allocations: 4.125 kB / 0.8415 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.2908, allocations: 55.91 kB / 0.8416 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.2914, allocations: 46.06 kB / 0.8416 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008323/0.2922, allocations: 407.4 kB / 0.842 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.2927, allocations: 0.7439 MB / 0.8428 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.293, allocations: 69.47 kB / 0.8428 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.293, allocations: 19.44 kB / 0.8428 GB, free: 348 kB / 0.6544 GB Notification: Performance of SimCode: time 1.694e-06/0.293, allocations: 0 / 0.8428 GB, free: 348 kB / 0.6544 GB Notification: Performance of Templates: time 0.005663/0.2987, allocations: 1.792 MB / 0.8446 GB, free: 14.56 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)