Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.694/2.694, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.002085/0.002085, allocations: 180.5 kB / 371 MB, free: 10.87 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.057/2.057, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008984/0.0008983, allocations: 82.42 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004996, allocations: 11.52 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.219, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.0056/0.2246, allocations: 3.835 MB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005647/0.2303, allocations: 3.011 MB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00038/0.2307, allocations: 7.938 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.2315, allocations: 159.1 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2327, allocations: 302.5 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.2334, allocations: 180.3 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.2344, allocations: 0.6541 MB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.2359, allocations: 0.7371 MB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.2364, allocations: 187.2 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.2368, allocations: 243 kB / 0.9875 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.2369, allocations: 19.94 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008766/0.2378, allocations: 231.7 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.238, allocations: 139.6 kB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2381, allocations: 105.5 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.2391, allocations: 0.6662 MB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2391, allocations: 0 / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2391, allocations: 3.938 kB / 0.9887 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2391, allocations: 0 / 0.9887 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.001522/0.2407, allocations: 0.7208 MB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2407, allocations: 12.02 kB / 0.9894 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.2409, allocations: 66.53 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.2456, allocations: 0.6936 MB / 0.9901 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2468, allocations: 470.7 kB / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2469, allocations: 20.66 kB / 0.9906 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.247, allocations: 35.92 kB / 0.9906 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.2494, allocations: 0.7865 MB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.2495, allocations: 3.938 kB / 0.9914 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.2495, allocations: 12 kB / 0.9914 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.2498, allocations: 56.59 kB / 0.9915 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.253, allocations: 0.8765 MB / 0.9923 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.2585, allocations: 2.851 MB / 0.9951 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.2615, allocations: 0.5292 MB / 0.9956 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.2627, allocations: 268.5 kB / 0.9959 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.2629, allocations: 89.08 kB / 0.996 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2629, allocations: 34.56 kB / 0.996 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.263, allocations: 0 / 0.996 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.02051/0.2835, allocations: 3.21 MB / 0.9991 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2836, allocations: 81.11 kB / 0.9992 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.2843, allocations: 413.6 kB / 0.9996 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.2844, allocations: 29.7 kB / 0.9996 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2846, allocations: 243.7 kB / 0.9999 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2847, allocations: 86.84 kB / 0.9999 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2848, allocations: 4 kB / 0.9999 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.2849, allocations: 354.7 kB / 1 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.2864, allocations: 371.5 kB / 1.001 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.288, allocations: 445.2 kB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.2896, allocations: 385.8 kB / 1.001 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2896, allocations: 0 / 1.001 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008765/0.2984, allocations: 1.546 MB / 1.003 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.459e-05/0.2985, allocations: 146.2 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2986, allocations: 3.984 kB / 1.003 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/0.3054, allocations: 0.8519 MB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3065, allocations: 143.7 kB / 1.004 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.3173, allocations: 4.659 MB / 1.009 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.3188, allocations: 119.9 kB / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.3189, allocations: 19.98 kB / 1.009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.3189, allocations: 4 kB / 1.009 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007655/0.3265, allocations: 1.257 MB / 1.01 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.3266, allocations: 4 kB / 1.01 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/0.3314, allocations: 0.5471 MB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3326, allocations: 147.8 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.3387, allocations: 2.502 MB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.34, allocations: 107.8 kB / 1.013 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.209e-05/0.3401, allocations: 24.05 kB / 1.013 GB, free: 7.633 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.0005439/0.3407, allocations: 317 kB / 1.014 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3408, allocations: 35.58 kB / 1.014 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/0.3494, allocations: 1.424 MB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.3495, allocations: 4 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3495, allocations: 4 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3495, allocations: 0 / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009869/0.3594, allocations: 2.099 MB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.3594, allocations: 0 / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.3602, allocations: 91.94 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/0.3667, allocations: 0.7897 MB / 1.018 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.3669, allocations: 7.984 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009895/0.3768, allocations: 4.485 MB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.3768, allocations: 3.953 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/0.3849, allocations: 1.439 MB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.3854, allocations: 168.7 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3856, allocations: 4 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.3866, allocations: 103.8 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.3868, allocations: 31.86 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.3869, allocations: 11.98 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005694/0.3875, allocations: 303.1 kB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3875, allocations: 0 / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001254/0.3887, allocations: 212 kB / 1.024 GB, free: 11.7 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.008797/0.3976, allocations: 2.007 MB / 1.026 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006338/0.4039, allocations: 1.625 MB / 1.028 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.404, allocations: 0 / 1.028 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.4062, allocations: 0.6653 MB / 1.029 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4074, allocations: 113.3 kB / 1.029 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.4244, allocations: 4.235 MB / 1.033 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.4252, allocations: 0.9132 MB / 1.034 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.4262, allocations: 155.1 kB / 1.034 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.4266, allocations: 135.4 kB / 1.034 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/0.4266, allocations: 0 / 1.034 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/0.4805, allocations: 15.89 MB / 1.05 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/0.4809, allocations: 239.4 kB / 1.05 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/3.484, allocations: 0 / 1.05 GB, free: 1.738 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)