Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001041/0.001041, allocations: 183.4 kB / 371.8 MB, free: 10.25 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.436/1.436, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.000859/0.000859, allocations: 98.89 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12.25 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2152, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003748/0.219, allocations: 3.695 MB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.2223, allocations: 2.937 MB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.2225, allocations: 7.938 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.223, allocations: 159.2 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.2236, allocations: 296.3 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.224, allocations: 171.6 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2243, allocations: 346.1 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009199/0.2252, allocations: 0.7291 MB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2254, allocations: 159.4 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.2257, allocations: 175.3 kB / 0.9879 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.2257, allocations: 20 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.2261, allocations: 239.6 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.2262, allocations: 123.7 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.2263, allocations: 105.5 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.2268, allocations: 0.6665 MB / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2268, allocations: 0 / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2268, allocations: 0 / 0.989 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2268, allocations: 0 / 0.989 GB, free: 17.74 MB / 0.6198 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.001113/0.228, allocations: 0.7168 MB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.228, allocations: 12.02 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.2281, allocations: 78.53 kB / 0.9898 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002606/0.2307, allocations: 0.7014 MB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.2314, allocations: 470.7 kB / 0.991 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2315, allocations: 24.64 kB / 0.991 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/0.2315, allocations: 32 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.2328, allocations: 0.7864 MB / 0.9918 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2329, allocations: 7.938 kB / 0.9918 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.2329, allocations: 12 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.233, allocations: 52.59 kB / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.2348, allocations: 0.8804 MB / 0.9927 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.2379, allocations: 2.855 MB / 0.9955 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2394, allocations: 0.5137 MB / 0.996 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.304e-05/0.2395, allocations: 93.31 kB / 0.9961 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2395, allocations: 42.52 kB / 0.9961 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.2395, allocations: 0 / 0.9961 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01049/0.25, allocations: 3.208 MB / 0.9993 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.2501, allocations: 85.05 kB / 0.9993 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2505, allocations: 413.6 kB / 0.9997 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2505, allocations: 29.7 kB / 0.9998 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2507, allocations: 247.7 kB / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.2507, allocations: 82.83 kB / 1 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2508, allocations: 7.938 kB / 1 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.2508, allocations: 354.8 kB / 1 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.2516, allocations: 363.5 kB / 1.001 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.2524, allocations: 441.3 kB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.2532, allocations: 394.7 kB / 1.002 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2533, allocations: 0 / 1.002 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004572/0.2578, allocations: 1.535 MB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.258, allocations: 0.7981 MB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.258, allocations: 0 / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/0.2616, allocations: 0.8442 MB / 1.005 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.2622, allocations: 135.8 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/0.2688, allocations: 4.788 MB / 1.009 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.2696, allocations: 115.8 kB / 1.01 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.2697, allocations: 24.05 kB / 1.01 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.2697, allocations: 4 kB / 1.01 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004101/0.2738, allocations: 1.253 MB / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2738, allocations: 0 / 1.011 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.2763, allocations: 0.5509 MB / 1.011 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.277, allocations: 147.8 kB / 1.012 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.2805, allocations: 2.569 MB / 1.014 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.2813, allocations: 107.8 kB / 1.014 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.2813, allocations: 19.98 kB / 1.014 GB, free: 7.027 MB / 0.6355 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.0003929/0.2817, allocations: 320.9 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.2818, allocations: 39.69 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.2863, allocations: 1.419 MB / 1.016 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2864, allocations: 3.984 kB / 1.016 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2864, allocations: 4 kB / 1.016 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2864, allocations: 0 / 1.016 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.2918, allocations: 2.1 MB / 1.018 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2918, allocations: 4 kB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.2922, allocations: 87.78 kB / 1.018 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/0.2956, allocations: 0.7858 MB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.2957, allocations: 15.98 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/0.3014, allocations: 4.602 MB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3014, allocations: 4.031 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/0.3061, allocations: 1.476 MB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.3065, allocations: 176.6 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.3066, allocations: 8 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.3072, allocations: 91.84 kB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3073, allocations: 27.95 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.3073, allocations: 12 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004067/0.3078, allocations: 315.1 kB / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3078, allocations: 0 / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008619/0.3087, allocations: 200 kB / 1.026 GB, free: 10.92 MB / 0.6511 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.00507/0.3137, allocations: 2.242 MB / 1.028 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003747/0.3175, allocations: 1.627 MB / 1.029 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3175, allocations: 0 / 1.029 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.3188, allocations: 0.673 MB / 1.03 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.3195, allocations: 101.4 kB / 1.03 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3299, allocations: 5.402 MB / 1.035 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.3305, allocations: 0.9249 MB / 1.036 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006222/0.3312, allocations: 155.2 kB / 1.036 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.3315, allocations: 135.4 kB / 1.037 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/0.3315, allocations: 3.938 kB / 1.037 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3636, allocations: 15.88 MB / 1.052 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/0.3639, allocations: 231.1 kB / 1.052 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.625, allocations: 0 / 1.052 GB, free: 15.55 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)