Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.8 kB / 326.5 MB, free: 2.27 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.721/1.721, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009168/0.0009166, allocations: 98.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 9.031 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2527, allocations: 106.3 MB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7801/1.033, allocations: 175.6 MB / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/1.033, allocations: 101.7 kB / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06822/1.102, allocations: 28.82 MB / 1.1 GB, free: 134 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/1.102, allocations: 0 / 1.1 GB, free: 134 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.03e-05/1.102, allocations: 12 kB / 1.1 GB, free: 134 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001704/1.103, allocations: 0.7556 MB / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/1.104, allocations: 8.031 kB / 1.101 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/1.104, allocations: 70.53 kB / 1.101 GB, free: 133.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/1.106, allocations: 0.5728 MB / 1.101 GB, free: 132.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.108, allocations: 478.5 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/1.108, allocations: 20.66 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.108, allocations: 31.94 kB / 1.102 GB, free: 131.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.109, allocations: 0.7592 MB / 1.103 GB, free: 131.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.109, allocations: 3.938 kB / 1.103 GB, free: 131.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/1.109, allocations: 12 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/1.11, allocations: 20.66 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.111, allocations: 0.857 MB / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/1.115, allocations: 2.855 MB / 1.106 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.117, allocations: 0.5215 MB / 1.107 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/1.117, allocations: 85.09 kB / 1.107 GB, free: 126.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.117, allocations: 34.56 kB / 1.107 GB, free: 126.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/1.117, allocations: 0 / 1.107 GB, free: 126.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.009305/1.126, allocations: 2.956 MB / 1.11 GB, free: 123.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.126, allocations: 77.11 kB / 1.11 GB, free: 123.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/1.127, allocations: 372.8 kB / 1.11 GB, free: 123.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/1.127, allocations: 37.7 kB / 1.11 GB, free: 123 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/1.127, allocations: 235.7 kB / 1.11 GB, free: 122.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/1.127, allocations: 82.89 kB / 1.11 GB, free: 122.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/1.127, allocations: 7.938 kB / 1.11 GB, free: 122.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/1.127, allocations: 350.8 kB / 1.111 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/1.128, allocations: 355.7 kB / 1.111 GB, free: 122 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/1.129, allocations: 449.3 kB / 1.112 GB, free: 121.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/1.129, allocations: 389.6 kB / 1.112 GB, free: 121.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.129, allocations: 0 / 1.112 GB, free: 121.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003844/1.133, allocations: 1.411 MB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001899/1.134, allocations: 0.7862 MB / 1.114 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.134, allocations: 4 kB / 1.114 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/1.136, allocations: 0.6999 MB / 1.115 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.137, allocations: 139.7 kB / 1.115 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/1.141, allocations: 3.25 MB / 1.118 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/1.141, allocations: 115.9 kB / 1.118 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/1.142, allocations: 15.98 kB / 1.118 GB, free: 114.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.142, allocations: 4 kB / 1.118 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003118/1.145, allocations: 1.152 MB / 1.119 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.145, allocations: 4 kB / 1.119 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/1.147, allocations: 472.3 kB / 1.12 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/1.147, allocations: 139.8 kB / 1.12 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/1.15, allocations: 2.522 MB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/1.151, allocations: 103.9 kB / 1.123 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/1.151, allocations: 24.05 kB / 1.123 GB, free: 109.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000461/1.151, allocations: 316.9 kB / 1.123 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/1.151, allocations: 43.47 kB / 1.123 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.155, allocations: 1.31 MB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.155, allocations: 3.984 kB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.155, allocations: 8 kB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/1.155, allocations: 0 / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/1.16, allocations: 1.993 MB / 1.126 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.16, allocations: 0 / 1.126 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/1.16, allocations: 91.92 kB / 1.126 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/1.163, allocations: 0.6882 MB / 1.127 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/1.163, allocations: 7.984 kB / 1.127 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/1.168, allocations: 4.571 MB / 1.131 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.168, allocations: 3.953 kB / 1.131 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/1.172, allocations: 1.368 MB / 1.133 GB, free: 99.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/1.173, allocations: 164.7 kB / 1.133 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.173, allocations: 8 kB / 1.133 GB, free: 98.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/1.173, allocations: 91.86 kB / 1.133 GB, free: 98.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.173, allocations: 27.95 kB / 1.133 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/1.173, allocations: 4 kB / 1.133 GB, free: 98.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004797/1.174, allocations: 311.1 kB / 1.133 GB, free: 98.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.174, allocations: 0 / 1.133 GB, free: 98.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001193/1.175, allocations: 223.9 kB / 1.133 GB, free: 98.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004092/1.179, allocations: 2.186 MB / 1.136 GB, free: 96.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003296/1.183, allocations: 1.501 MB / 1.137 GB, free: 94.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.183, allocations: 4.125 kB / 1.137 GB, free: 94.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/1.184, allocations: 0.6727 MB / 1.138 GB, free: 93.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/1.185, allocations: 128.6 kB / 1.138 GB, free: 93.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/1.194, allocations: 5.259 MB / 1.143 GB, free: 88.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/1.194, allocations: 0.921 MB / 1.144 GB, free: 87.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006352/1.195, allocations: 151.2 kB / 1.144 GB, free: 87.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/1.195, allocations: 135.4 kB / 1.144 GB, free: 87.11 MB / 0.698 GB Notification: Performance of SimCode: time 9.11e-07/1.195, allocations: 0 / 1.144 GB, free: 87.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.227, allocations: 15.9 MB / 1.16 GB, free: 71.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.227, allocations: 232.5 kB / 1.16 GB, free: 71.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.582, allocations: 0 / 1.16 GB, free: 71.23 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)