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.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.00113/0.00113, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.000852/0.000852, allocations: 78.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.512e-05/5.543e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7226/0.9331, allocations: 150.8 MB / 1.039 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.9335, allocations: 96.03 kB / 1.039 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02879/0.9623, allocations: 11.73 MB / 1.051 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9624, allocations: 0 / 1.051 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.891e-05/0.9624, allocations: 8 kB / 1.051 GB, free: 7.25 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.0007687/0.9632, allocations: 461.2 kB / 1.051 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.9633, allocations: 8.031 kB / 1.051 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.9634, allocations: 48.73 kB / 1.051 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.9641, allocations: 63.69 kB / 1.051 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.9645, allocations: 229.2 kB / 1.051 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.9645, allocations: 19.12 kB / 1.051 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.9646, allocations: 15.3 kB / 1.051 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.9651, allocations: 266.5 kB / 1.052 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.9651, allocations: 4 kB / 1.052 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.9652, allocations: 3.688 kB / 1.052 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.9652, allocations: 16.22 kB / 1.052 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.9655, allocations: 204.4 kB / 1.052 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.9674, allocations: 1.599 MB / 1.054 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.9676, allocations: 76.31 kB / 1.054 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.9677, allocations: 44.56 kB / 1.054 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.9677, allocations: 4 kB / 1.054 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9677, allocations: 37.39 kB / 1.054 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.9677, allocations: 0 / 1.054 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.9683, allocations: 182.4 kB / 1.054 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.9684, allocations: 85.05 kB / 1.054 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.9686, allocations: 202.6 kB / 1.054 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.9686, allocations: 25.7 kB / 1.054 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.9688, allocations: 173.6 kB / 1.054 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.9688, allocations: 22.75 kB / 1.054 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.9688, allocations: 3.812 kB / 1.054 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.969, allocations: 324.8 kB / 1.055 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9691, allocations: 73.34 kB / 1.055 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.9693, allocations: 160.1 kB / 1.055 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.9694, allocations: 101.1 kB / 1.055 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9694, allocations: 0 / 1.055 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003997/0.9699, allocations: 277.2 kB / 1.055 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.9704, allocations: 1.138 MB / 1.056 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.9704, allocations: 4 kB / 1.056 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9704, allocations: 8 kB / 1.056 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.9707, allocations: 47.91 kB / 1.056 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.9707, allocations: 4 kB / 1.056 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.9709, allocations: 27.09 kB / 1.056 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.9709, allocations: 15.56 kB / 1.056 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.9709, allocations: 4 kB / 1.056 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003133/0.9713, allocations: 214 kB / 1.057 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.9713, allocations: 4 kB / 1.057 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.9713, allocations: 4 kB / 1.057 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.9715, allocations: 50.66 kB / 1.057 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9715, allocations: 7.953 kB / 1.057 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.9716, allocations: 19.27 kB / 1.057 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.9716, allocations: 8 kB / 1.057 GB, free: 1.168 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.294e-05/0.9717, allocations: 119.5 kB / 1.057 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.9718, allocations: 12 kB / 1.057 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.972, allocations: 127.1 kB / 1.057 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.972, allocations: 3.938 kB / 1.057 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.972, allocations: 0 / 1.057 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9721, allocations: 3.953 kB / 1.057 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007474/0.9728, allocations: 0.6189 MB / 1.058 GB, free: 296 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9728, allocations: 0 / 1.058 GB, free: 296 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.9729, allocations: 27.81 kB / 1.058 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9729, allocations: 0 / 1.058 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.9729, allocations: 4.125 kB / 1.058 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9729, allocations: 8 kB / 1.058 GB, free: 260 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9729, allocations: 3.938 kB / 1.058 GB, free: 256 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.9733, allocations: 412.4 kB / 1.058 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.9734, allocations: 100.8 kB / 1.058 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.9735, allocations: 6.875 kB / 1.058 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.9736, allocations: 11.98 kB / 1.058 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.9737, allocations: 18.61 kB / 1.058 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.9737, allocations: 4 kB / 1.058 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001521/0.9738, allocations: 165.9 kB / 1.058 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9738, allocations: 0 / 1.058 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005356/0.9744, allocations: 92.23 kB / 1.058 GB, free: 15.43 MB / 0.6823 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.001076/0.9755, allocations: 1.436 MB / 1.06 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.976, allocations: 271.5 kB / 1.06 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.976, allocations: 0 / 1.06 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.976, allocations: 46.84 kB / 1.06 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.9764, allocations: 38.42 kB / 1.06 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.9773, allocations: 338.9 kB / 1.06 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.9777, allocations: 0.7345 MB / 1.061 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002742/0.978, allocations: 81.45 kB / 1.061 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.9781, allocations: 43.05 kB / 1.061 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/0.9781, allocations: 0 / 1.061 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.9944, allocations: 3.328 MB / 1.065 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.9948, allocations: 179.9 kB / 1.065 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.625, allocations: 2.188 kB / 1.065 GB, free: 9.078 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)