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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001427/0.001427, allocations: 184.4 kB / 377.1 MB, free: 1.539 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.648/1.648, allocations: 205.4 MB / 0.6366 GB, free: 8.648 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.0009789/0.0009787, allocations: 81.66 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006605, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3464, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/1.074, allocations: 158.1 MB / 1.143 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/1.074, allocations: 101.5 kB / 1.143 GB, free: 20.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02802/1.102, allocations: 11.82 MB / 1.154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.102, allocations: 0 / 1.154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.102, allocations: 8 kB / 1.154 GB, free: 12.13 MB / 0.7292 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.000579/1.103, allocations: 477.6 kB / 1.155 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.103, allocations: 12.02 kB / 1.155 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/1.103, allocations: 50.27 kB / 1.155 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/1.104, allocations: 68.81 kB / 1.155 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/1.104, allocations: 232.9 kB / 1.155 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.104, allocations: 11.98 kB / 1.155 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/1.104, allocations: 15.44 kB / 1.155 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/1.104, allocations: 283.3 kB / 1.156 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.104, allocations: 3.938 kB / 1.156 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.104, allocations: 9.203 kB / 1.156 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/1.105, allocations: 14.06 kB / 1.156 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/1.105, allocations: 206.9 kB / 1.156 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/1.106, allocations: 1.579 MB / 1.157 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/1.106, allocations: 73.33 kB / 1.157 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/1.106, allocations: 3.984 kB / 1.157 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/1.106, allocations: 38.62 kB / 1.157 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/1.106, allocations: 0 / 1.157 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000476/1.107, allocations: 218.4 kB / 1.158 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.107, allocations: 88.2 kB / 1.158 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/1.107, allocations: 196.3 kB / 1.158 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/1.107, allocations: 25.7 kB / 1.158 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/1.107, allocations: 164.8 kB / 1.158 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/1.107, allocations: 26.7 kB / 1.158 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.107, allocations: 4 kB / 1.158 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/1.107, allocations: 327.2 kB / 1.158 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/1.107, allocations: 76.28 kB / 1.159 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/1.108, allocations: 162.8 kB / 1.159 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/1.108, allocations: 106.7 kB / 1.159 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.108, allocations: 0 / 1.159 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003356/1.108, allocations: 278.2 kB / 1.159 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.108, allocations: 1.137 MB / 1.16 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.108, allocations: 8 kB / 1.16 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.108, allocations: 4 kB / 1.16 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.109, allocations: 59.05 kB / 1.16 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/1.109, allocations: 4 kB / 1.16 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/1.109, allocations: 23.97 kB / 1.16 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.109, allocations: 8 kB / 1.16 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/1.109, allocations: 4 kB / 1.16 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002463/1.109, allocations: 221.3 kB / 1.16 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/1.109, allocations: 4 kB / 1.16 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/1.109, allocations: 5 kB / 1.16 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.109, allocations: 47.91 kB / 1.161 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.109, allocations: 8.766 kB / 1.161 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/1.109, allocations: 15.98 kB / 1.161 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.109, allocations: 15.95 kB / 1.161 GB, free: 5.82 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.11, allocations: 225.3 kB / 1.161 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/1.11, allocations: 11.81 kB / 1.161 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/1.11, allocations: 119.4 kB / 1.161 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.11, allocations: 0 / 1.161 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.11, allocations: 4 kB / 1.161 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/1.11, allocations: 1.312 kB / 1.161 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/1.11, allocations: 0.6235 MB / 1.162 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.11, allocations: 4 kB / 1.162 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/1.11, allocations: 17.73 kB / 1.162 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.11, allocations: 7.953 kB / 1.162 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.11, allocations: 0 / 1.162 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/1.11, allocations: 11.92 kB / 1.162 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.11, allocations: 256 / 1.162 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/1.111, allocations: 411.7 kB / 1.162 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/1.111, allocations: 112.8 kB / 1.162 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/1.111, allocations: 4 kB / 1.162 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/1.111, allocations: 15.98 kB / 1.162 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/1.111, allocations: 11.98 kB / 1.162 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/1.111, allocations: 4 kB / 1.162 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001124/1.111, allocations: 174.7 kB / 1.162 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.111, allocations: 0 / 1.162 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004778/1.112, allocations: 83.94 kB / 1.162 GB, free: 3.816 MB / 0.7292 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 () * Number of clocked 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.0004922/1.112, allocations: 1.449 MB / 1.164 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003559/1.112, allocations: 267.7 kB / 1.164 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.112, allocations: 0 / 1.164 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/1.113, allocations: 49.41 kB / 1.164 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/1.113, allocations: 25.48 kB / 1.164 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.115, allocations: 2.942 MB / 1.167 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.115, allocations: 0.7402 MB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002163/1.115, allocations: 75.36 kB / 1.168 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/1.115, allocations: 47.42 kB / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of SimCode: time 4.919e-06/1.115, allocations: 0 / 1.168 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/1.131, allocations: 3.206 MB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.131, allocations: 193.2 kB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.884, allocations: 0 / 1.171 GB, free: 10.78 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)