Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001143/0.001143, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.486/1.486, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008815/0.0008814, allocations: 84.44 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.661e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7082, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.9297, allocations: 156.4 MB / 1.117 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.9301, allocations: 89.72 kB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03307/0.9631, allocations: 11.7 MB / 1.129 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9632, allocations: 0 / 1.129 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.9632, allocations: 4 kB / 1.129 GB, free: 3.547 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.0008849/0.9641, allocations: 454.5 kB / 1.129 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.9642, allocations: 12.03 kB / 1.129 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/0.9649, allocations: 72.7 kB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.9653, allocations: 226.8 kB / 1.129 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.9653, allocations: 8 kB / 1.129 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.9654, allocations: 8 kB / 1.129 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003528/0.9657, allocations: 152.2 kB / 1.13 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.9662, allocations: 258.5 kB / 1.13 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.9662, allocations: 0 / 1.13 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.9662, allocations: 4 kB / 1.13 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.9663, allocations: 17.75 kB / 1.13 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.9684, allocations: 1.55 MB / 1.131 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.9685, allocations: 69.19 kB / 1.131 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.9686, allocations: 45.81 kB / 1.131 GB, free: 440 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.9686, allocations: 4 kB / 1.131 GB, free: 436 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.9686, allocations: 30.56 kB / 1.132 GB, free: 396 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.758e-06/0.9686, allocations: 0 / 1.132 GB, free: 396 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004723/0.9691, allocations: 178.5 kB / 1.132 GB, free: 212 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.9692, allocations: 77.11 kB / 1.132 GB, free: 116 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.9694, allocations: 193.9 kB / 1.132 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.9695, allocations: 33.64 kB / 1.132 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9696, allocations: 155.5 kB / 1.132 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.9696, allocations: 31.55 kB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.9696, allocations: 0 / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9698, allocations: 326.8 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.9699, allocations: 74.38 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.9701, allocations: 151.1 kB / 1.133 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.9704, allocations: 109.6 kB / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9704, allocations: 0 / 1.133 GB, free: 15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000477/0.9708, allocations: 254.2 kB / 1.133 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005227/0.9714, allocations: 1.139 MB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9714, allocations: 7.938 kB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.9714, allocations: 4 kB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.9717, allocations: 55.97 kB / 1.134 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.778e-05/0.9717, allocations: 14.03 kB / 1.134 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.972, allocations: 19.89 kB / 1.134 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.972, allocations: 11.98 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.972, allocations: 7.938 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000383/0.9724, allocations: 193.9 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9724, allocations: 3.984 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.9724, allocations: 8 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.9726, allocations: 47.91 kB / 1.134 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9726, allocations: 4 kB / 1.134 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.9728, allocations: 11.98 kB / 1.135 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.9728, allocations: 14.06 kB / 1.135 GB, free: 13.13 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.0001078/0.9729, allocations: 108.9 kB / 1.135 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002263/0.9732, allocations: 121.4 kB / 1.135 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.9732, allocations: 13.66 kB / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.9735, allocations: 119.1 kB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9735, allocations: 0 / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9735, allocations: 0 / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9735, allocations: 3.953 kB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.9743, allocations: 0.5773 MB / 1.135 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9743, allocations: 3.984 kB / 1.135 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.9744, allocations: 16 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.9744, allocations: 5.312 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.9744, allocations: 11.94 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9744, allocations: 4 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9745, allocations: 3.938 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.9748, allocations: 400.1 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.9749, allocations: 104.9 kB / 1.136 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.975, allocations: 4 kB / 1.136 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.9752, allocations: 11.98 kB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.9752, allocations: 15.92 kB / 1.136 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.9752, allocations: 4 kB / 1.136 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001603/0.9754, allocations: 153.9 kB / 1.136 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9754, allocations: 0 / 1.136 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005718/0.976, allocations: 75.94 kB / 1.136 GB, free: 11.21 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.0009454/0.9769, allocations: 1.436 MB / 1.138 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.9774, allocations: 249.1 kB / 1.138 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9774, allocations: 8.062 kB / 1.138 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.9774, allocations: 35.92 kB / 1.138 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.9778, allocations: 32.89 kB / 1.138 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/0.9787, allocations: 326.6 kB / 1.138 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9792, allocations: 0.7334 MB / 1.139 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.9794, allocations: 84.48 kB / 1.139 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.9795, allocations: 43.42 kB / 1.139 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of SimCode: time 2.254e-06/0.9795, allocations: 7.938 kB / 1.139 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/1.032, allocations: 2.91 MB / 1.142 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.032, allocations: 174.3 kB / 1.142 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.758, allocations: 0 / 1.142 GB, free: 5.098 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)