Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.813/2.813, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001552/0.001552, allocations: 187.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 90.86 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 11.67 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.956/1.176, allocations: 158.7 MB / 1.133 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.176, allocations: 88.34 kB / 1.133 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05921/1.235, allocations: 16.31 MB / 1.149 GB, free: 25.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/1.235, allocations: 0 / 1.149 GB, free: 25.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.483e-05/1.235, allocations: 3.875 kB / 1.149 GB, free: 25.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001082/1.236, allocations: 0.5493 MB / 1.15 GB, free: 24.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.236, allocations: 11.7 kB / 1.15 GB, free: 24.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/1.237, allocations: 52.86 kB / 1.15 GB, free: 24.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.238, allocations: 93.45 kB / 1.15 GB, free: 24.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/1.238, allocations: 272 kB / 1.15 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.238, allocations: 11.81 kB / 1.15 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/1.238, allocations: 18 kB / 1.15 GB, free: 24.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/1.239, allocations: 371.7 kB / 1.151 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.239, allocations: 0 / 1.151 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/1.239, allocations: 18.05 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/1.239, allocations: 19.73 kB / 1.151 GB, free: 24.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/1.24, allocations: 330.7 kB / 1.151 GB, free: 23.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/1.243, allocations: 1.728 MB / 1.153 GB, free: 22.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.244, allocations: 346.1 kB / 1.153 GB, free: 22.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/1.244, allocations: 92.55 kB / 1.153 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.244, allocations: 41.89 kB / 1.153 GB, free: 22.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.756e-06/1.244, allocations: 0 / 1.153 GB, free: 22.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.002009/1.246, allocations: 0.6054 MB / 1.154 GB, free: 22.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.246, allocations: 81.05 kB / 1.154 GB, free: 21.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/1.246, allocations: 189 kB / 1.154 GB, free: 21.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/1.246, allocations: 25.7 kB / 1.154 GB, free: 21.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/1.247, allocations: 163.4 kB / 1.154 GB, free: 21.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/1.247, allocations: 70.39 kB / 1.154 GB, free: 21.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/1.247, allocations: 7.812 kB / 1.154 GB, free: 21.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.247, allocations: 330.5 kB / 1.155 GB, free: 21.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/1.247, allocations: 128.8 kB / 1.155 GB, free: 21.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/1.248, allocations: 221.8 kB / 1.155 GB, free: 21.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/1.248, allocations: 157.2 kB / 1.155 GB, free: 21.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.248, allocations: 3.953 kB / 1.155 GB, free: 21 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001192/1.249, allocations: 440.2 kB / 1.155 GB, free: 20.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/1.25, allocations: 1.045 MB / 1.156 GB, free: 19.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.25, allocations: 7.938 kB / 1.156 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/1.25, allocations: 47.03 kB / 1.157 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/1.251, allocations: 75.69 kB / 1.157 GB, free: 19.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/1.253, allocations: 1.506 MB / 1.158 GB, free: 17.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/1.253, allocations: 35.34 kB / 1.158 GB, free: 17.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/1.253, allocations: 11.19 kB / 1.158 GB, free: 17.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/1.253, allocations: 4 kB / 1.158 GB, free: 17.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/1.254, allocations: 368.9 kB / 1.158 GB, free: 17.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.254, allocations: 4 kB / 1.158 GB, free: 17.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/1.254, allocations: 39.89 kB / 1.158 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004849/1.255, allocations: 75.81 kB / 1.159 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/1.257, allocations: 1.502 MB / 1.16 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/1.257, allocations: 26.77 kB / 1.16 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/1.257, allocations: 23.61 kB / 1.16 GB, free: 15.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002928/1.257, allocations: 227.9 kB / 1.16 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/1.257, allocations: 23.72 kB / 1.16 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.258, allocations: 368.6 kB / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.258, allocations: 4 kB / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.258, allocations: 0 / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.258, allocations: 3.984 kB / 1.161 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/1.261, allocations: 0.9699 MB / 1.162 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.261, allocations: 4 kB / 1.162 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/1.261, allocations: 51.53 kB / 1.162 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/1.261, allocations: 40.38 kB / 1.162 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.261, allocations: 7.312 kB / 1.162 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/1.263, allocations: 1.422 MB / 1.163 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.263, allocations: 0 / 1.163 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/1.264, allocations: 0.6283 MB / 1.164 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/1.264, allocations: 131.2 kB / 1.164 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/1.264, allocations: 7.5 kB / 1.164 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/1.264, allocations: 35.61 kB / 1.164 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/1.265, allocations: 15.36 kB / 1.164 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/1.265, allocations: 11.98 kB / 1.164 GB, free: 12.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000193/1.265, allocations: 148.3 kB / 1.164 GB, free: 12.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.265, allocations: 0 / 1.164 GB, free: 12.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008456/1.266, allocations: 121.8 kB / 1.164 GB, free: 11.9 MB / 0.698 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/1.267, allocations: 1.664 MB / 1.166 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.269, allocations: 0.7402 MB / 1.167 GB, free: 9.629 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.269, allocations: 0 / 1.167 GB, free: 9.629 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/1.27, allocations: 271.4 kB / 1.167 GB, free: 9.391 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/1.27, allocations: 39.19 kB / 1.167 GB, free: 9.363 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/1.274, allocations: 3.314 MB / 1.17 GB, free: 6.199 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/1.275, allocations: 0.7824 MB / 1.171 GB, free: 5.398 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004671/1.275, allocations: 93.78 kB / 1.171 GB, free: 5.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/1.276, allocations: 65.11 kB / 1.171 GB, free: 5.281 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.276, allocations: 0 / 1.171 GB, free: 5.281 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/1.309, allocations: 5.161 MB / 1.176 GB, free: 308 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.309, allocations: 225.3 kB / 1.176 GB, free: 52 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.96, allocations: 0 / 1.176 GB, free: 52 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)