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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 183.5 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008899/0.0008896, allocations: 97.64 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.06e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7067/0.9234, allocations: 151 MB / 1.033 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.9237, allocations: 92.66 kB / 1.033 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.9512, allocations: 11.71 MB / 1.044 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9512, allocations: 0 / 1.044 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.9512, allocations: 4 kB / 1.044 GB, free: 10.43 MB / 0.6667 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.0006158/0.9519, allocations: 451.2 kB / 1.045 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9519, allocations: 16.03 kB / 1.045 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005642/0.9525, allocations: 67.67 kB / 1.045 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.9528, allocations: 223.9 kB / 1.045 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.9528, allocations: 4 kB / 1.045 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.9528, allocations: 8 kB / 1.045 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002721/0.9531, allocations: 154 kB / 1.045 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.9535, allocations: 261.6 kB / 1.045 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.9535, allocations: 3.938 kB / 1.045 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.9535, allocations: 0 / 1.045 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.9536, allocations: 16.22 kB / 1.045 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.9552, allocations: 1.552 MB / 1.047 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.989e-05/0.9553, allocations: 66.94 kB / 1.047 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.464e-05/0.9554, allocations: 48.62 kB / 1.047 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.9554, allocations: 0 / 1.047 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.9555, allocations: 41.94 kB / 1.047 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.9555, allocations: 0 / 1.047 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004621/0.956, allocations: 170.7 kB / 1.047 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.956, allocations: 81.05 kB / 1.047 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.9562, allocations: 193.1 kB / 1.048 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.9563, allocations: 25.7 kB / 1.048 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.9564, allocations: 162 kB / 1.048 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.9564, allocations: 30.8 kB / 1.048 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.9564, allocations: 0 / 1.048 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9566, allocations: 326 kB / 1.048 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.9567, allocations: 71.66 kB / 1.048 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.9568, allocations: 154.2 kB / 1.048 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.9571, allocations: 104.9 kB / 1.048 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9571, allocations: 0 / 1.048 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003994/0.9575, allocations: 258 kB / 1.049 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004826/0.958, allocations: 1.142 MB / 1.05 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.958, allocations: 4 kB / 1.05 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.958, allocations: 4 kB / 1.05 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.9582, allocations: 55.41 kB / 1.05 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.9583, allocations: 11.98 kB / 1.05 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.9584, allocations: 15.97 kB / 1.05 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.9585, allocations: 12 kB / 1.05 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.9585, allocations: 1.875 kB / 1.05 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003147/0.9588, allocations: 208.1 kB / 1.05 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.9588, allocations: 0 / 1.05 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.9588, allocations: 8 kB / 1.05 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.959, allocations: 47.91 kB / 1.05 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.959, allocations: 4 kB / 1.05 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.9591, allocations: 15.89 kB / 1.05 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.9592, allocations: 8 kB / 1.05 GB, free: 4.543 MB / 0.6667 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 9.716e-05/0.9593, allocations: 112.6 kB / 1.05 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001881/0.9595, allocations: 121.9 kB / 1.05 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.9595, allocations: 19.89 kB / 1.05 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.9597, allocations: 107.6 kB / 1.05 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.9597, allocations: 4.094 kB / 1.05 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.9598, allocations: 3.953 kB / 1.05 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.9598, allocations: 7.969 kB / 1.05 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.9605, allocations: 0.578 MB / 1.051 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9605, allocations: 0 / 1.051 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.9606, allocations: 19.98 kB / 1.051 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9606, allocations: 3.953 kB / 1.051 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.9606, allocations: 4 kB / 1.051 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.9606, allocations: 4 kB / 1.051 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9606, allocations: 3.938 kB / 1.051 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.9609, allocations: 402.9 kB / 1.051 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.961, allocations: 104.6 kB / 1.052 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.9611, allocations: 4 kB / 1.052 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.9612, allocations: 7.984 kB / 1.052 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.9613, allocations: 18.92 kB / 1.052 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.9613, allocations: 4 kB / 1.052 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001344/0.9614, allocations: 162.7 kB / 1.052 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9614, allocations: 0 / 1.052 GB, free: 2.844 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004968/0.9619, allocations: 75.94 kB / 1.052 GB, free: 2.77 MB / 0.6667 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.000791/0.9627, allocations: 1.427 MB / 1.053 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.9631, allocations: 252.3 kB / 1.053 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9631, allocations: 0 / 1.053 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-05/0.9632, allocations: 42.8 kB / 1.054 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.9635, allocations: 27.38 kB / 1.054 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.9643, allocations: 341.3 kB / 1.054 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.9647, allocations: 0.7354 MB / 1.055 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.9649, allocations: 81.7 kB / 1.055 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.9649, allocations: 44.42 kB / 1.055 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/0.965, allocations: 0 / 1.055 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.987, allocations: 2.922 MB / 1.058 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.9874, allocations: 172.8 kB / 1.058 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.539, allocations: 0 / 1.058 GB, free: 12.75 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)