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.807/1.807, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001243/0.001243, allocations: 182.7 kB / 371.6 MB, free: 3.352 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.466/1.466, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008893/0.0008893, allocations: 94.78 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.304e-05/5.318e-05, allocations: 15.98 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8022/1.051, allocations: 158 MB / 1.134 GB, free: 31.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/1.051, allocations: 93.33 kB / 1.134 GB, free: 31.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02871/1.08, allocations: 11.74 MB / 1.146 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/1.08, allocations: 0 / 1.146 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.99e-05/1.08, allocations: 4 kB / 1.146 GB, free: 25.04 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.0006616/1.081, allocations: 454.5 kB / 1.146 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.081, allocations: 8.031 kB / 1.146 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/1.081, allocations: 54.56 kB / 1.146 GB, free: 24.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006612/1.081, allocations: 75.08 kB / 1.146 GB, free: 24.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/1.082, allocations: 218.8 kB / 1.147 GB, free: 24.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.082, allocations: 18.02 kB / 1.147 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/1.082, allocations: 19.17 kB / 1.147 GB, free: 24.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/1.082, allocations: 273 kB / 1.147 GB, free: 24 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.082, allocations: 0 / 1.147 GB, free: 24 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/1.082, allocations: 9.375 kB / 1.147 GB, free: 24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.082, allocations: 10.91 kB / 1.147 GB, free: 23.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/1.083, allocations: 205.1 kB / 1.147 GB, free: 23.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/1.084, allocations: 1.588 MB / 1.149 GB, free: 22.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/1.084, allocations: 74.12 kB / 1.149 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/1.084, allocations: 50.8 kB / 1.149 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/1.084, allocations: 0 / 1.149 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.084, allocations: 31.98 kB / 1.149 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/1.084, allocations: 1.688 kB / 1.149 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004633/1.085, allocations: 189.3 kB / 1.149 GB, free: 22.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.085, allocations: 81.81 kB / 1.149 GB, free: 22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/1.085, allocations: 204 kB / 1.149 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/1.085, allocations: 25.7 kB / 1.149 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/1.085, allocations: 164 kB / 1.149 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/1.085, allocations: 30.28 kB / 1.149 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/1.085, allocations: 3.062 kB / 1.149 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/1.085, allocations: 324.5 kB / 1.15 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/1.085, allocations: 75.42 kB / 1.15 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.086, allocations: 168 kB / 1.15 GB, free: 21.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/1.086, allocations: 98.45 kB / 1.15 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.086, allocations: 4 kB / 1.15 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003746/1.086, allocations: 266.8 kB / 1.15 GB, free: 20.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/1.086, allocations: 1.142 MB / 1.151 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.086, allocations: 4 kB / 1.151 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.086, allocations: 4.609 kB / 1.151 GB, free: 19.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/1.087, allocations: 50.81 kB / 1.151 GB, free: 19.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.087, allocations: 11.22 kB / 1.151 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/1.087, allocations: 30.78 kB / 1.152 GB, free: 19.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/1.087, allocations: 12.61 kB / 1.152 GB, free: 19.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.087, allocations: 8.875 kB / 1.152 GB, free: 19.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002982/1.087, allocations: 208.2 kB / 1.152 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.087, allocations: 4.516 kB / 1.152 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/1.087, allocations: 4 kB / 1.152 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/1.088, allocations: 51.16 kB / 1.152 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.088, allocations: 4.656 kB / 1.152 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.088, allocations: 19.91 kB / 1.152 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.088, allocations: 12.56 kB / 1.152 GB, free: 19.39 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 6.192e-05/1.088, allocations: 116.3 kB / 1.152 GB, free: 19.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/1.088, allocations: 20.41 kB / 1.152 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/1.088, allocations: 123.5 kB / 1.152 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.088, allocations: 0 / 1.152 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.088, allocations: 0 / 1.152 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.088, allocations: 4.562 kB / 1.152 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/1.089, allocations: 0.6175 MB / 1.153 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.089, allocations: 4 kB / 1.153 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/1.089, allocations: 15.75 kB / 1.153 GB, free: 18.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.089, allocations: 7.953 kB / 1.153 GB, free: 18.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.089, allocations: 4.938 kB / 1.153 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.089, allocations: 5 kB / 1.153 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.089, allocations: 7.938 kB / 1.153 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/1.089, allocations: 413.9 kB / 1.153 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/1.089, allocations: 106.2 kB / 1.153 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.089, allocations: 4.703 kB / 1.153 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.089, allocations: 19.98 kB / 1.153 GB, free: 18.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/1.089, allocations: 10.98 kB / 1.153 GB, free: 18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/1.089, allocations: 4 kB / 1.153 GB, free: 18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001306/1.09, allocations: 162 kB / 1.153 GB, free: 17.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.09, allocations: 0 / 1.153 GB, free: 17.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004833/1.09, allocations: 91.02 kB / 1.154 GB, free: 17.79 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.000561/1.091, allocations: 1.436 MB / 1.155 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003727/1.091, allocations: 268 kB / 1.155 GB, free: 16.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.091, allocations: 0 / 1.155 GB, free: 16.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/1.091, allocations: 48.84 kB / 1.155 GB, free: 16.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/1.091, allocations: 31.08 kB / 1.155 GB, free: 16.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/1.092, allocations: 335.3 kB / 1.156 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/1.092, allocations: 0.7419 MB / 1.156 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002185/1.093, allocations: 77.83 kB / 1.156 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/1.093, allocations: 46.64 kB / 1.156 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/1.093, allocations: 0 / 1.156 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/1.108, allocations: 3.31 MB / 1.16 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.108, allocations: 180.1 kB / 1.16 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.928, allocations: 0 / 1.16 GB, free: 12.89 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)