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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,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-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3789/0.3796, allocations: 82.21 MB / 0.5934 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002629/0.3823, allocations: 2.027 MB / 0.5954 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.384, allocations: 1.382 MB / 0.5967 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.3841, allocations: 4 kB / 0.5967 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3843, allocations: 19.86 kB / 0.5967 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3846, allocations: 97.64 kB / 0.5968 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.385, allocations: 137 kB / 0.597 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3852, allocations: 123.7 kB / 0.5971 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3857, allocations: 225 kB / 0.5973 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3858, allocations: 60.52 kB / 0.5973 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.386, allocations: 72.61 kB / 0.5974 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.386, allocations: 8 kB / 0.5974 GB, free: 17.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3862, allocations: 103.8 kB / 0.5975 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.3863, allocations: 49.45 kB / 0.5976 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3863, allocations: 49.64 kB / 0.5976 GB, free: 17.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3865, allocations: 207.5 kB / 0.5978 GB, free: 17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3865, allocations: 4 kB / 0.5978 GB, free: 16.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3865, allocations: 0.7812 kB / 0.5978 GB, free: 16.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3866, allocations: 0 / 0.5978 GB, free: 16.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005208/0.3871, allocations: 440.8 kB / 0.5982 GB, free: 16.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3871, allocations: 11.97 kB / 0.5982 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/0.3876, allocations: 71.73 kB / 0.5983 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.3879, allocations: 223.8 kB / 0.5985 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3879, allocations: 16.27 kB / 0.5985 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.3879, allocations: 12 kB / 0.5986 GB, free: 16.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3883, allocations: 274 kB / 0.5988 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3883, allocations: 0 / 0.5988 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.3883, allocations: 8.516 kB / 0.5988 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.462e-05/0.3884, allocations: 25.97 kB / 0.5989 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.3886, allocations: 204.5 kB / 0.599 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3898, allocations: 1.367 MB / 0.6004 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3901, allocations: 329.1 kB / 0.6007 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3901, allocations: 8.078 kB / 0.6007 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.3901, allocations: 36 kB / 0.6007 GB, free: 13.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3901, allocations: 0 / 0.6007 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004751/0.3906, allocations: 245.9 kB / 0.601 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3907, allocations: 79.02 kB / 0.601 GB, free: 13.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3908, allocations: 199.4 kB / 0.6012 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3908, allocations: 25.7 kB / 0.6013 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.3909, allocations: 151.6 kB / 0.6014 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3909, allocations: 47.44 kB / 0.6015 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-06/0.3909, allocations: 5.031 kB / 0.6015 GB, free: 12.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.391, allocations: 322.8 kB / 0.6018 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.3911, allocations: 77.7 kB / 0.6018 GB, free: 12.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3912, allocations: 149.9 kB / 0.602 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3913, allocations: 96 kB / 0.6021 GB, free: 12.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3913, allocations: 0 / 0.6021 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000289/0.3916, allocations: 265.1 kB / 0.6023 GB, free: 12.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.3919, allocations: 1.134 MB / 0.6034 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3919, allocations: 7.953 kB / 0.6034 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3919, allocations: 4 kB / 0.6034 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3921, allocations: 47.91 kB / 0.6035 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3921, allocations: 11.94 kB / 0.6035 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3922, allocations: 15.89 kB / 0.6035 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3923, allocations: 15.98 kB / 0.6035 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.3923, allocations: 4 kB / 0.6035 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002145/0.3925, allocations: 191.7 kB / 0.6037 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.3925, allocations: 0 / 0.6037 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.3925, allocations: 8 kB / 0.6037 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3927, allocations: 51.91 kB / 0.6038 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3927, allocations: 11.88 kB / 0.6038 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/0.3928, allocations: 15.92 kB / 0.6038 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3928, allocations: 8.375 kB / 0.6038 GB, free: 10.42 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.3929, allocations: 228.9 kB / 0.604 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3929, allocations: 15.81 kB / 0.604 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.3931, allocations: 139 kB / 0.6042 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3932, allocations: 4 kB / 0.6042 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3932, allocations: 0 / 0.6042 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3932, allocations: 0 / 0.6042 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.3939, allocations: 0.7312 MB / 0.6049 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3939, allocations: 4.344 kB / 0.6049 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.394, allocations: 27.98 kB / 0.6049 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.394, allocations: 4 kB / 0.6049 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3941, allocations: 7.953 kB / 0.6049 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3941, allocations: 0 / 0.6049 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3941, allocations: 8.062 kB / 0.6049 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3943, allocations: 495.4 kB / 0.6054 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.3944, allocations: 112.8 kB / 0.6055 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3945, allocations: 11.98 kB / 0.6055 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3946, allocations: 12 kB / 0.6055 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3947, allocations: 11.94 kB / 0.6056 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3947, allocations: 12 kB / 0.6056 GB, free: 8.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.029e-05/0.3948, allocations: 143.7 kB / 0.6057 GB, free: 8.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3948, allocations: 0 / 0.6057 GB, free: 8.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.3952, allocations: 64 kB / 0.6058 GB, free: 8.191 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.3954, allocations: 119.2 kB / 0.6059 GB, free: 8.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.3957, allocations: 252.8 kB / 0.6061 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3957, allocations: 4 kB / 0.6061 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.3958, allocations: 68.2 kB / 0.6062 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3961, allocations: 31.92 kB / 0.6062 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.3967, allocations: 497.6 kB / 0.6067 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3969, allocations: 0.744 MB / 0.6074 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.3971, allocations: 85.48 kB / 0.6075 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3972, allocations: 23.42 kB / 0.6075 GB, free: 6.293 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3972, allocations: 0 / 0.6075 GB, free: 6.293 MB / 446.1 MB Notification: Performance of Templates: time 0.003804/0.401, allocations: 1.613 MB / 0.6091 GB, free: 4.719 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: