Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.3 MB, free: 2.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 183.4 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009552/0.000955, allocations: 95.33 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.815e-05, allocations: 0 / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9821/1.278, allocations: 158 MB / 1.134 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.278, allocations: 96.48 kB / 1.134 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02973/1.308, allocations: 11.73 MB / 1.146 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.864e-06/1.308, allocations: 0.8438 kB / 1.146 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.546e-05/1.308, allocations: 4 kB / 1.146 GB, free: 24.95 MB / 0.7448 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.000761/1.309, allocations: 452 kB / 1.146 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.309, allocations: 8.031 kB / 1.146 GB, free: 24.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/1.31, allocations: 73.77 kB / 1.146 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/1.31, allocations: 225.9 kB / 1.146 GB, free: 24.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.31, allocations: 11.38 kB / 1.146 GB, free: 24.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/1.31, allocations: 19.02 kB / 1.146 GB, free: 24.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/1.311, allocations: 269.8 kB / 1.147 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.311, allocations: 11.94 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/1.311, allocations: 3.125 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/1.311, allocations: 18.58 kB / 1.147 GB, free: 23.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/1.311, allocations: 200.2 kB / 1.147 GB, free: 23.83 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/1.313, allocations: 1.59 MB / 1.148 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/1.313, allocations: 70.91 kB / 1.149 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/1.313, allocations: 46.31 kB / 1.149 GB, free: 22.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/1.313, allocations: 8.703 kB / 1.149 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.313, allocations: 35.75 kB / 1.149 GB, free: 22.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/1.313, allocations: 0 / 1.149 GB, free: 22.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0006068/1.314, allocations: 183.1 kB / 1.149 GB, free: 22.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/1.314, allocations: 77.62 kB / 1.149 GB, free: 21.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/1.314, allocations: 206.2 kB / 1.149 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.314, allocations: 29.33 kB / 1.149 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.314, allocations: 166.1 kB / 1.149 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/1.314, allocations: 25.73 kB / 1.149 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/1.314, allocations: 3.438 kB / 1.149 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.315, allocations: 326.4 kB / 1.15 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/1.315, allocations: 71.81 kB / 1.15 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.315, allocations: 157.4 kB / 1.15 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/1.315, allocations: 103.5 kB / 1.15 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.315, allocations: 0 / 1.15 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004677/1.316, allocations: 269.7 kB / 1.15 GB, free: 20.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003768/1.316, allocations: 1.134 MB / 1.151 GB, free: 19.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.316, allocations: 4 kB / 1.151 GB, free: 19.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.316, allocations: 4 kB / 1.151 GB, free: 19.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/1.316, allocations: 60.84 kB / 1.151 GB, free: 19.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.316, allocations: 5.891 kB / 1.151 GB, free: 19.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.317, allocations: 30.8 kB / 1.151 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/1.317, allocations: 14.23 kB / 1.151 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.317, allocations: 4 kB / 1.151 GB, free: 19.56 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003707/1.317, allocations: 215.6 kB / 1.152 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.317, allocations: 4 kB / 1.152 GB, free: 19.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/1.317, allocations: 4.609 kB / 1.152 GB, free: 19.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.317, allocations: 52.31 kB / 1.152 GB, free: 19.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.317, allocations: 4.656 kB / 1.152 GB, free: 19.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/1.317, allocations: 15.06 kB / 1.152 GB, free: 19.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.317, allocations: 12.66 kB / 1.152 GB, free: 19.36 MB / 0.7448 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 () * 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 0.0001053/1.318, allocations: 118 kB / 1.152 GB, free: 19.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/1.318, allocations: 15.81 kB / 1.152 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/1.318, allocations: 120.4 kB / 1.152 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.318, allocations: 8.547 kB / 1.152 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.318, allocations: 0 / 1.152 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.318, allocations: 0.6562 kB / 1.152 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/1.319, allocations: 0.6261 MB / 1.153 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.319, allocations: 0 / 1.153 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/1.319, allocations: 18.44 kB / 1.153 GB, free: 18.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.319, allocations: 4 kB / 1.153 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.319, allocations: 11.75 kB / 1.153 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.319, allocations: 1.016 kB / 1.153 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.319, allocations: 14.02 kB / 1.153 GB, free: 18.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/1.319, allocations: 404.7 kB / 1.153 GB, free: 18.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/1.319, allocations: 109.2 kB / 1.153 GB, free: 17.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/1.319, allocations: 7.875 kB / 1.153 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/1.319, allocations: 7.984 kB / 1.153 GB, free: 17.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/1.32, allocations: 13.91 kB / 1.153 GB, free: 17.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/1.32, allocations: 7.562 kB / 1.153 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001584/1.32, allocations: 165.4 kB / 1.153 GB, free: 17.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.32, allocations: 0 / 1.153 GB, free: 17.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005515/1.32, allocations: 88.66 kB / 1.153 GB, free: 17.76 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001923/1.32, allocations: 116.5 kB / 1.153 GB, free: 17.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000412/1.321, allocations: 268.8 kB / 1.154 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.321, allocations: 4.094 kB / 1.154 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/1.321, allocations: 42.36 kB / 1.154 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.321, allocations: 32.78 kB / 1.154 GB, free: 17.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/1.322, allocations: 274.7 kB / 1.154 GB, free: 17.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/1.322, allocations: 0.7451 MB / 1.155 GB, free: 16.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000241/1.322, allocations: 72.31 kB / 1.155 GB, free: 16.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/1.322, allocations: 16.33 kB / 1.155 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/1.322, allocations: 3.938 kB / 1.155 GB, free: 16.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.005289/1.328, allocations: 1.679 MB / 1.157 GB, free: 15.41 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)